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

Add an OptimizeFn to re-pack arrays prior to compression #1798

Open
gatesn opened this issue Jan 3, 2025 · 0 comments
Open

Add an OptimizeFn to re-pack arrays prior to compression #1798

gatesn opened this issue Jan 3, 2025 · 0 comments

Comments

@gatesn
Copy link
Contributor

gatesn commented Jan 3, 2025

Examples where this is useful typically involve sliced arrays:

  • DictArray - remove unused values from the dictionary, and also sort values by frequency (better cache locality for decompression)
  • BooleanArray - make sure bools are zero-aligned, instead of starting half way through a byte
  • VarBinView - remove unused strings from the data buffers
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