4 ms·
That depends on the number of elements and the size of the payload data. Both approaches can be combined by using a linked list of arrays.
by layer8 4y ago
That depends on the number of elements and the size of the payload data. Both approaches can be combined by using a linked list of arrays.
- marcosdumay 4y agoYes. There is a reason why it's hard to create either a bare linked list or a bare array on modern language. It's because both are bad extremes, and the optimum algorithm is almost always some combination of them.