|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re^2: The Bad, the Ugly, and the Good of autovivificationby Anonymous Monk |
| on Apr 08, 2005 at 12:18 UTC ( [id://446062]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Yeah, unfortunally, for algorithms that use 'exists', clamping hashes doesn't make sense. Either the key is known to be there (so, no need for exist), or its existance is volotile, which means that clamping hash prevent the keys from being inserted.
Sure, you can unclamp the hash whenever you insert a new key, but then it might be easier to write your exist test as:
In Section
Meditations
|
|
||||||||||||||||||||||||||||