TheNullicorn / primcolls

Primitive collections for Kotlin/JVM. JS is also supported, but will probably not be as beneficial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Primitive Collections

A lightweight Kotlin/JVM library that offers simple data structures for primitives, which take advantage of unboxed types' smaller sizes in-memory, especially when used in arrays.

Help

If anyone interested in contributing has knowledge in code generation, feel free to open an issue or pull request. I'd like to use a library like kotlinpoet to make maintenance easier, but I'm not decided on what the best approach to that would be.

Lists

me.nullicorn.primcolls.list
  • Ordered
  • Dynamically sized
  • Can be converted to primitive arrays
    • And vice-versa
    • e.g. byte[] (Java) or ByteArray (Kotlin)

About

Primitive collections for Kotlin/JVM. JS is also supported, but will probably not be as beneficial

License:MIT License


Languages

Language:Kotlin 100.0%