I could keep a bitarray, but wasting around 12% space. I could use pointers(null check) to elements but this creates fragmentation. It is not terrible, just curious if anyone has a better way?
Hash table element existence check
Illuminati via Digitalmars-d-learn Fri, 02 Sep 2016 12:41:14 -0700
I am trying to create a hash table and would like an efficient
way to be able to know if an element exists to test for
collisions.
- Hash table element existence ... Illuminati via Digitalmars-d-learn
- Re: Hash table element e... Steven Schveighoffer via Digitalmars-d-learn
- Re: Hash table eleme... Illuminati via Digitalmars-d-learn
- Re: Hash table e... Steven Schveighoffer via Digitalmars-d-learn
- Re: Hash table element e... Cauterite via Digitalmars-d-learn
- Re: Hash table eleme... Illuminati via Digitalmars-d-learn
- Re: Hash table e... Cauterite via Digitalmars-d-learn
- Re: Hash tab... Illuminati via Digitalmars-d-learn
- Re: Hash table element e... Basile B. via Digitalmars-d-learn
- Re: Hash table eleme... Illuminati via Digitalmars-d-learn