You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The winner is, obviously, Collection.toArray() which returns an Object[]. If the array type is relevant, then passing a constant empty array beats passing a fresh empty array by roughly 10% due to decreased GC pressure. The refactoring is probably safe.
Some further improvement after this: #5057
(benchmark this first!)
The text was updated successfully, but these errors were encountered: