-
Notifications
You must be signed in to change notification settings - Fork 6
HPPCRT-33: Adopt perfomance enhancements found in fastutil 6.6x and Koloboke #35
Comments
From fastutil / Koloboke: General performance improvement rank from 10 to 20 % compared to v0.67 using a proper JMH-based test suite: |
OK I really have too much free time: |
If (KType, VType=KType) packing in single array eventually proves itself good, it will also mean another |
Mmm. Well after much head scratching, I came up with this and also this uber change of the TemplateProcessor: Indeed, include-like are now possible in the form of a custom Velocity directive "#import". This allows really cross-module inclusion, currently for inlining purposes of Intrinsics.java, now an ordinary file which deserves no special management in the TemplateProcessor. Note that I'm by no means closer to template specializations. I'm actually dropping the subject completely because it is not worth the fatigue: I'm no going to support, i.e maintain and test tens of specializations for another marginal gain, while turning the maintainance into a nightmare. I give up. |
Considered done in |
Shamelessly steal the following performance optimizations from Fastutil 6.6x and Koloboke:
-- Replace MurmurHash3 scrambling by phiMix from Koloboke,
-- Unroll some fast-paths in some Hash methods for faster searches.
Study their actual performance gain, maybe also update the Caliper benches to JMH taking example on
java-performance.info benchmarks ( #27)
The text was updated successfully, but these errors were encountered: