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

StrictOptimizedXxxOps provide helpers for a subset of the methods only #11477

Open
julienrf opened this Issue Apr 9, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@julienrf
Copy link

commented Apr 9, 2019

This makes the experience of custom collection implementers a bit confusing because some operations (e.g. map and flatMap) can be implemented by forwarding to the helpers (strictOptimizedMap and strictOptimizedFlatMap, respectively, for those operations), but some others have to be re-implemented manually (e.g., appended and prepended). You can see an example here.

We should provide helpers for all the methods that are supposed to be overridden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.