Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propsal to require only fastutil-core #1232

Open
HannesWell opened this issue Sep 11, 2023 · 0 comments
Open

Propsal to require only fastutil-core #1232

HannesWell opened this issue Sep 11, 2023 · 0 comments

Comments

@HannesWell
Copy link

Since version 9.5.3 fastutil provides a variant named fastutil-core, which only contains the important types and is therefore only about 6MB in size instead of 22MB.

Would it be possible to require only fastutil-core for tablesaw?
For tablesaw-core depending only on fastutil-core leads to compiler errors, but from a coarse look (and without in depth knowledge) it looks in general doable. Only the types listed below would need a replacement.

But these types are used in tablesaw's API and I don't know what your policy respectively backwards compatibility is and if it would be feasible for you to break those APIs.

it.unimi.dsi.fastutil.booleans.BooleanOpenHashSet
it.unimi.dsi.fastutil.booleans.BooleanSet
it.unimi.dsi.fastutil.bytes.Byte2IntMap
it.unimi.dsi.fastutil.bytes.Byte2IntOpenHashMap
it.unimi.dsi.fastutil.bytes.Byte2ObjectAVLTreeMap
it.unimi.dsi.fastutil.bytes.Byte2ObjectMap
it.unimi.dsi.fastutil.bytes.Byte2ObjectOpenHashMap
it.unimi.dsi.fastutil.bytes.Byte2ObjectSortedMap
it.unimi.dsi.fastutil.bytes.ByteArrayList
it.unimi.dsi.fastutil.bytes.ByteListIterator
it.unimi.dsi.fastutil.bytes.ByteOpenHashSet
it.unimi.dsi.fastutil.bytes.ByteSet
it.unimi.dsi.fastutil.floats.Float2ObjectAVLTreeMap
it.unimi.dsi.fastutil.floats.Float2ObjectOpenHashMap
it.unimi.dsi.fastutil.floats.Float2ObjectSortedMap
it.unimi.dsi.fastutil.objects.Object2ByteOpenHashMap
it.unimi.dsi.fastutil.objects.Object2ShortOpenHashMap
it.unimi.dsi.fastutil.shorts.Short2IntMap
it.unimi.dsi.fastutil.shorts.Short2IntOpenHashMap
it.unimi.dsi.fastutil.shorts.Short2ObjectAVLTreeMap
it.unimi.dsi.fastutil.shorts.Short2ObjectMap
it.unimi.dsi.fastutil.shorts.Short2ObjectOpenHashMap
it.unimi.dsi.fastutil.shorts.Short2ObjectSortedMap
it.unimi.dsi.fastutil.shorts.ShortOpenHashSet
it.unimi.dsi.fastutil.shorts.ShortSet

But since ByteArrayList and BooleanSet

Relates to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant