Comment by cma
5 years ago
If a bunch of insertions happen like that, based on some other data structure, and then a periodic iteration eventually happens at some point, you could also imagine an array version being batching together all the array inserts in another simple array and applying them all at once before iteration.
No comments yet
Contribute on Hacker News ↗