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
In JS / TS, it's trivial to create a map from another map. That is:
letoriginal=newMap()letclone=newMap(original)
I didn't see this in the BiMap documentation, so I'm assuming this capability does not exist? I was going to use this library, but it looks like map cloning is non-trivial without spreading through an iterator, whereas JS map cloning is theoretically lower-cost in a JS engine. Can you add this capability?
letoriginal=newBiMap()letclone=newBiMap(original)
The text was updated successfully, but these errors were encountered:
In JS / TS, it's trivial to create a map from another map. That is:
I didn't see this in the BiMap documentation, so I'm assuming this capability does not exist? I was going to use this library, but it looks like map cloning is non-trivial without spreading through an iterator, whereas JS map cloning is theoretically lower-cost in a JS engine. Can you add this capability?
The text was updated successfully, but these errors were encountered: