That said, splice, shift, and unshift could all become O(1) if the following were to happen:
I suppose I could write up a Tie::Array that would do this. In thinking about it, this may sound like a proper solution for DBM::Deep's arrays. What do you think?
In reply to Re^7: Array VS Linked List (reality)
by dragonchild
in thread Array VS Linked List
by asset
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |