You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was a bit confusing to me. I'm guessing the insert-style API is there for compatibility with indexmap and hashmap's APIs, but the push_back API makes more sense for a VecDeque.
I feel like you should pick one style of API and deprecate the other? At the least, the documentation should explain that they do the same thing.
I'm personally trying out this library because of the VecDeque-style aspects of it, so I'd prefer the push_back API.
Thanks for this library, and of course indexmap. We use indexmap pretty heavily in Turbopack because we need predictable iteration order for our caching layer to work effectively.