Closed rPraml closed 1 month ago
I will check this myself later, but you can also verify the effects yourself, by running:
BENCHMARK=SlotMap ./gradlew jmh
(or the equivalent on Windows)
FWIW this didn't result in any measurable changes (Java does a ton of optimization of bytecode including making uncontended synchronization very cheap). But if you all think it makes sense -- less bytecode is always good -- I'm happy to merge it.
This is a small improvement, but I imagine it is measurable