-
Notifications
You must be signed in to change notification settings - Fork 8
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
Support sets of 8-bit and 16-bit integers #19
Comments
These are already supported with |
At least in the heap case, not having SetU16 and SetU8 seems like it would result in 2x-4x overhead, which is obviously not acceptable. It seems like it should be possible to use a macro to generate all SetU#, or maybe even have a generic version for anything integer-like. |
No, there wouldn't be overhead, tinyset is optimized for size and for small values. I could do better for A You could also do better when not on the heap (for For A macro to generate similar implementations for each integer type wouldn't be practical because you aren't going to be using your |
Support sets of 8-bit and 16-bit integers
The text was updated successfully, but these errors were encountered: