[perl #16670] [PATCH] find_bucket in hash.c not GC safe

2002-08-20 Thread via RT
# New Ticket Created by Jason Gloudon # Please include the string: [perl #16670] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt2/Ticket/Display.html?id=16670 find_bucket as writen is GC-unsafe. This patch corrects this, by not reusing old

Re: [perl #16670] [PATCH] find_bucket in hash.c not GC safe

2002-08-20 Thread Leopold Toetsch
Jason Gloudon (via RT) wrote: find_bucket as writen is GC-unsafe. This patch corrects this, by not reusing old values of bucket pointers across calls to string_compare, which can invoke compaction, causing the bucket to move. Dunno, how expensive getBucket is, but wouldn't it be faster,