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

Feature request for 128bit for ipv6 usage. #421

Open
ouvaa opened this issue Apr 17, 2024 · 5 comments
Open

Feature request for 128bit for ipv6 usage. #421

ouvaa opened this issue Apr 17, 2024 · 5 comments

Comments

@ouvaa
Copy link

ouvaa commented Apr 17, 2024

@lemire i would like to use 128bit for ipv6, thought of having 2 roaring bitmaps of 64bit each and splitting the ipv6 into 2 segments but i realised i have to call the roaring bitmap from 2 memory location twice.

  1. possible to make a 128bit version?
  2. do u have suggestions to make this faster or better? is it advisable to use ipv6 detection for "flagging" it as a banned ip or similar?

specifically asked u coz i know u are expert in extreme optimization and thanks for all the write ups you have done etc.

@lemire
Copy link
Member

lemire commented Apr 17, 2024

There is no plan to support 128-bit bitmaps. It is unclear whether it would be a good idea.

@ouvaa
Copy link
Author

ouvaa commented Apr 17, 2024

@lemire is this the best i can do currently? any alternatives worth exploring?

@guymolinari
Copy link
Contributor

guymolinari commented Apr 17, 2024 via email

@guymolinari
Copy link
Contributor

Consider using the newly expanded BSI library to handle this scenario.

@guymolinari
Copy link
Contributor

@lemire - I believe this issue is resolved via the addition of large value representation in a BSIs.

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

3 participants