2 ms·
java.util.collections.* isn't very optimized in that regard. Both GNU Trove and fastutil offers primitive collections that are still Java, but much better memo
by marginalia_nu 4y ago
java.util.collections.* isn't very optimized in that regard.
Both GNU Trove and fastutil offers primitive collections that are still Java, but much better memory optimized.
- lichtenberger 4y agoFastutil is amazing. Specialized collection types for almost everything.