News for hackers. Stuff that matters.
Re:How to implement a hash table in C by le-mark on Friday March 26, 2021 @10:23AM (#26592510)
>Are you really going to recommend growing the table by duplicating it?

Setting a reasonable initial size then doubling it and copying when (if!) it needs to grow is a pragmatic, reasonable approach that’s quite common!

Re:How to implement a hash table in C by knome on Friday March 26, 2021 @10:37AM (#26592677)