ported a sortable list from my old C code
Stanislav Blinov
stanislav.blinov at gmail.com
Sat Oct 13 12:31:11 UTC 2018
On Saturday, 13 October 2018 at 11:11:41 UTC, Codifies wrote:
> Does anyone has any ideas on improving this sortable list
Yes. Use an array. No, really, use an array. Now, really, use an
array.
If reallocations while building your paths become a problem, you
can write a deque (bucket array) or a dlist. But still,
afterwards just convert it to array and use that.
More information about the Digitalmars-d-learn
mailing list