by bufferoverflow · 2y ago · 0 comments
In fact it makes that problem acute. A linked list structure will degrade gradually as we shove more entries with the same hash into it, every look-up incurs a pointer chase down the entire list, slower is eventually unacceptable but we do get signs first -- but with arrays we're just screwed, in C it's pretty likely we end up with an illegal dereference or we lose data once there's no room.
If it's designed to be used for other purposes as well, not so much.
(I wasn't entirely sure which from reading the article)