Re:What's wrong with this code, really?
by vilya on Friday September 16, 2011 @10:30AM
(#3004541)
For a list there's not likely to be a difference. For an array you have to shift all the elements after the one you're removing down by one place; if you're removing from the start of the list you have to adjust every item in the list, but if you're removing from end you don't have to adjust any items.
[ Parent
| on HN ]
There are no comments on this comment yet.