2 ms·
And here I was thinking the author must have been using a higher level language. I remembered reading this blog[0] where the author stated that the worst case s
by _gabe_ 3y ago
And here I was thinking the author must have been using a higher level language. I remembered reading this blog[0] where the author stated that the worst case scenario for an insertion at the beginning of a 2mb file only took 2ms on an old laptop while using an array as the data structure. I believe the author was using Zig here.
[0]: https://www.scattered-thoughts.net/writing/focus-text/ https://www.scattered-thoughts.net/writing/focus-text/