arrays - Javascript list like data structure? -


It seems, if I'm not mistaken, because the way Javascript handles the objects, unused to link it Or disable lists

I will need a data structure in which I can easily do 2 operations (separate from indexing), by adding it at the end and removing the object on an indicator.

Is using an array and is "rebuilding" for optimal solution for each removal operation? I do not think so.

Any thoughts?

It looks like that's exactly what you're looking for.
You should be able to use push and pop functions for data structure similar to the heap and for the rest of it the bunts.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -