Hacker News new | past | comments | ask | show | jobs | submit login

> However with our choice of 2^16 blanks between each item, we can support no more than sixteen consecutive insertions between the first and next item. After reaching this limit we would have revert to the previous approach of shifting items forward.

I do not see why this is necessary, you could also reindex the positions because only the relative order of integers matters. How hard can it be to recreate a bunch of integers once every 16 insertions in the same place in the list?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: