Browse Source
We now cache the negative outcome of PreferredConstructor.isConstructorParameter(…) to avoid iterations and iterator allocations which roughly improves typical converter usage by roughly 32%. Before: Benchmark Mode Cnt Score Error Units TypicalEntityReaderBenchmark.simpleEntityGeneratedConstructorAndField thrpt 10 6848447,474 ± 554354,377 ops/s After Benchmark Mode Cnt Score Error Units TypicalEntityReaderBenchmark.simpleEntityGeneratedConstructorAndField thrpt 10 9071099,879 ± 1423166,087 ops/s Closes #2295.2.4.x
1 changed files with 6 additions and 1 deletions
Loading…
Reference in new issue