I have generalized the hash a bit. There is now a variant that can C strings as keys too.
But what I always wanted to know is: do we really need the HASH_ENTRY as storage for hash items, or just PMCs as Array/PerlArray does? I think that the entry adds some overhead (type + union = 3 or 4 words) to hash usage, the more, when only PMCs (or pointers) will be stored in the hash.


leo

Reply via email to