Closed ta0kira closed 3 years ago
Actually, I think O(1) storage takes priority over stability, since buffers of arbitrary size aren't a part of the base.
Int
.)I guess this really needs to be in lib/container
anyway, since lib/util
doesn't have a mutable random-access container.
Ideally, stable with worst-case O(n log n) performance and O(1) memory. The memory requirement is flexible, since no deep copies will be made.