-
Notifications
You must be signed in to change notification settings - Fork 79
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
len should take constant-time #45
Comments
Contant time Perhaps instead the name of |
#127 removes 8 bytes from each array container, so maybe we can afford a few extra bytes at the root now ;) |
This is relevant to #167. Cardinality of all ops can all be trivially implemented in terms of the cardinality of the intersection
Intersection cardinality is cheaper to compute, so it's both simpler to implement and has better runtime performance if we have the len cached. |
rust-lang/api-guidelines#149
The text was updated successfully, but these errors were encountered: