Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hi @vitpro2213 it's very interesting (at least to me) to find about this data structure a few months after I had a need for its somewhat distant cousin: https://github.com/Fusion/slotmachine

In my case, I needed a way to book and release two-ports tuples really fast to accommodate a RTP simulator. So, I wrote that slotmachine data structure and have been running in in production for months and can confirm: yes, performance is good.

Note: I should mention that my approach is almost exactly opposite to yours: I create a final backing slice, then create the traversal slices.



Will have a look at it, thanks




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

Search: