News for hackers. Stuff that matters.
Re:The case against a C alternative by enqk on Tuesday August 09, 2022 @07:17AM (#32396352)
Another perfectly good solution is to treat a C hashtable as a sort of acceleration index. That C hashtable then, rather than holding pointers simply holds `hashkey -> i` where i is the position into a typed array.

I.e. your data structure is like this:

  generic_hashtable Hash; // (hash->int)
  Foo *values; // where my typed data is.

There are no comments on this comment yet.