Re:Show HN: Array with Constant Time Access and Fast Inserti...
by Thorrez on Tuesday September 03, 2019 @11:02PM
(#20873627)
The Push Front time could be improved to O(1)* by making it circular. Assuming "*" means amortized. But as-is it does provide a better comparison to an array. A circular IgushArray would be better compared to a circular array (which an std::vector isn't).
[ Parent
| on HN ]