Raku / nqp

NQP
Other
336 stars 131 forks source link

Add and use fastutil for java collections #816

Closed MasterDuke17 closed 5 months ago

MasterDuke17 commented 5 months ago

These are faster and more memory efficient because they can store natives (i.e., Java's int, long) instead of requiring them to be boxed like Java's standard library collections. There are also some non-fastutil-specific optimizations included. This (along with an associated Rakudo branch) brings Rakudo's jvm backend build down from ~2k seconds down to ~1k seconds.