by danielnesbitt · 9y ago · 0 comments
For instance, prepending to a linked list results in a new head node, but nothing is actually copied. Appending requires a full copy. A developer has to be aware of where the limitations of these data structures are, but I think that's true of using any library in any language.
While I agree that this Linked list memory layout should be optimized, with real world tests Array backed normally win by a large margin.