note jdhedden The performance of the blessed hash case is dependent on the length of the keys used in the hash: The longer the key, the more time it takes! <p> For one-character keys, blessed hashes are slightly faster than the cached refaddr case. (I got 2% when I did the timings.) However, one-character keys are rather unrealistic, and definitely not good programming practice. <p> For two-character keys, the performance is the same. <p> For three or more characters, cached refaddr is faster! I think five characters is realistic, and their performance is 2% slower. For ten characters, 7% slower! <p> So if I were to call a winner, cached refaddr would be it. <p> On another minor note, 0+$self yields the same result as the refaddr function. So you can eliminate 'use Scalar::Util', and just cache 0+$self. <!-- Node text goes above. Div tags should contain sig only --> <div class="pmsig"><div class="pmsig-313108"> <br><font size="-1">Remember:&nbsp;There's always one more bug.</font> </div></div> 483162 484462