Results 13 comments of Ran Lottem

One example I found of intSet performance vs. HashSet: https://www.baeldung.com/fastutil#1-performance I'll try to update with some tests for primitive lists as well.

I created this repo to test things: https://github.com/Krumpet/protobuf-performance initial results testing insertion into fastutil's `IntArrayList` vs an `ArrayList` (throughput, higher is better): ``` Benchmark (listSize) Mode Cnt Score Error Units...

I tried testing with Protobuf's internal `IntList` but it's implementation isn't public so I couldn't test it from outside.

Is there any interest in this? This could be as simple as exposing the internal `IntList` which is a `List` so existing users aren't affected. Then, users who care about...

@esorot pinging to make sure this didn't fall by the wayside.

There's the fastutil-core jar at 6MB with only some of the data structures (for ints, longs, and doubles). Exposing IntList (and other specialized primitive collections, if protobuf has them) is...

This, as well as the issue @ennerf linked, are still relevant. Storing collections of primitives in dedicated containers and providing an API to retrieve them as such (i.e. an `IntList`)...

Yes, I would like to keep this active.

Fastutil in java already works with some internal specialized IntList that doesn't box the objects within. It could expose that interface and let users get `int`s instead of `Integer`s.