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

Hey, thanks for the great library :)

> I don't think the overhead is as large as this implies. For SlotMap the memory overhead is ~4bytes plus alignment per element, and insertion/deletion is only a handful instructions and one branch extra compared to a vector push:

I think they were imagining one generation counter for the entire map instead of one per slot. I agree it's not particularly high.



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

Search: