Skip to content

Produce less String-related garbage in ReflectUtils::getClass#159

Open
stsypanov wants to merge 1 commit intocglib:masterfrom
stsypanov:lg
Open

Produce less String-related garbage in ReflectUtils::getClass#159
stsypanov wants to merge 1 commit intocglib:masterfrom
stsypanov:lg

Conversation

@stsypanov
Copy link

  1. no need in StringBuilder in case type is not an array
  2. no need in StringBuilder as all ther chars are [ (later under JDK 11this can be replaced wtih String.repeat)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants