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
Right now I get the undefined value printed 10000 times. I would like to be still aware that there are holes when traversing the list, but not store all 10000 undefined values inside the Array.
Maybe I would be able to achieve this using another data structure? As I understand it Immutable.js treats lists as trees. When inserting a new value I don't want all the leafs in between. Reversing it should also work.
The text was updated successfully, but these errors were encountered:
I solved this by implementing a "sorted map" and checking if I jump over an index when traversing it. It would be really useful if #88 got implemented.
I'm looking for a way to have a small array with big hols between the values. E.g.
Expected output should be:
Right now I get the undefined value printed 10000 times. I would like to be still aware that there are holes when traversing the list, but not store all 10000 undefined values inside the Array.
Maybe I would be able to achieve this using another data structure? As I understand it Immutable.js treats lists as trees. When inserting a new value I don't want all the leafs in between. Reversing it should also work.
The text was updated successfully, but these errors were encountered: