Hi,
On 26.08.2009 14:26 Uhr, catalina oancea wrote:
Hello
I use the htable module a lot but the only problem, when I add a new entry in a htable, is when I will delete it. My question is: if the hash table is completely filled and I try to add a new value to it, do I get an error or is an old value automatically deleted to be able to write my new value? If an old value was automatically deleted whenever a new value is added, I wouldn't have to bother deleting the values I no longer need.
the are deleted only if you have auto-expire set for htable -- see readme for defining htables.
A hash table is filled when no more shm is available, it is better not to get there since not much will work at that time.
Cheers, Daniel