logoalt Hacker News

simonaskyesterday at 7:29 PM1 replyview on HN

If this works for the programs you write, that’s great. It does preclude you from using many great data structures with potentially better performance - especially hash maps. Rehashing is pretty detrimental to most arena allocators you can think of.


Replies

ozgrakkurttoday at 11:18 AM

You can use hashmaps fine, just need to think about it and structure the program well for it.

It becomes clear once you do it a couple of times