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

Key and Value Iterators #61

Open
larkwiot opened this issue Jan 17, 2024 · 0 comments
Open

Key and Value Iterators #61

larkwiot opened this issue Jan 17, 2024 · 0 comments

Comments

@larkwiot
Copy link

Hello,

I love these map libraries and am using them extensively, thank you so much for sharing your work!

I am frequently running into the need to iterate over the keys or values separate of the other. Is there any way this could be implemented for this map?

Currently I have implemented utility functions to gather the keys or values into a vector and then use that, but I'd like to do this iteration in a functional programming kind of way (so without a for loop and a map() or transform() instead) and also without taking up the memory to copy all the keys or values into a separate vector.

Let me know your thoughts on this, and thanks again for your hard work!

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