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

Allow direct access to the contents of MultiValue #289

Open
mpfaff opened this issue Jun 25, 2023 · 0 comments
Open

Allow direct access to the contents of MultiValue #289

mpfaff opened this issue Jun 25, 2023 · 0 comments

Comments

@mpfaff
Copy link

mpfaff commented Jun 25, 2023

Often the work I need to do on the contents of MultiValue does not require them to be in the order passed to the function. In these cases it would be more efficient to access the Vec directly without reversing its contents.

I suggest that a method be added to MultiValue called into_rev_vec(), which would return the Vec as-is. A matching from_rev_vec method should also be added to create a MultiValue from a Vec without reversing its contents.

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

1 participant