-
Notifications
You must be signed in to change notification settings - Fork 8
[BREAKING CHANGE] remove 'SizeLimit' trait #23
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
Conversation
Thanks for the refactoring! This change slows down the benchmark in my environment. I will revisit this after #25 is landed. |
interesting... |
bit of a mixed bag, but definitely seems to be a net regression-
|
i have to assume that the difference in the benchmarks is due to the fact that my approach is runtime-polymorphic, whereas the current approach is compile-time polymorphic. I guess this can be closed? |
i've been playing around with simplifying by removing the 'SizeLimit' trait, and using an
Option<u64>
insteadthis removes around 100 lines of code, and reduces the complexity of the trait bounds