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

make edges byte-based #2979

Closed
karussell opened this issue Apr 20, 2024 · 0 comments
Closed

make edges byte-based #2979

karussell opened this issue Apr 20, 2024 · 0 comments
Milestone

Comments

@karussell
Copy link
Member

karussell commented Apr 20, 2024

Make edges byte-based.

Advantages:

  • make geometry pointer 5 bytes only (currently 8 bytes, see Use eight bytes for the geo ref #2978). make geometry pointer byte-based (instead int-based) -> requires 2 more bits but decreases waygeometry storage slightly.
  • fix the current int-padding limitation in all DataAccess implementations for set/getShort/Int
  • convert IntsRef into BytesRef and benefit from byte-based edge flags (-> slightly fewer bytes are necessary per edge entry)
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