|
|
|
|
|
by agentultra
4113 days ago
|
|
The only thing I can think of is when your algorithm is building the sequence of items whose length cannot be precalculated. For lists of a certain size you might be able to save over the amortized cost of calling realloc on an array. Just have to follow the data and watch how its used and build your program to provide the simplest flow. |
|