DEV Community


Discussion on: Proper API for Java List

michelemauro profile image

Cool, didn't know about the Capsule library. Oh, and the Scala library is not optimized for primitive type efficiency like the GS one, so the benchmark result is not surprising 😁

Is your idea about introducing a better API, a more explicit (and probably better) performance footprint, or are you aiming at both with one stone?

Thread Thread
siy profile image
Sergiy Yevtushenko Author

I've decided to start with API and implement it in very simple and straightforward way. Later I'm going to write better performing implementation while keeping API intact. Trying to do both things together is not the best approach since changes in API will be much harder to adopt and maintain.