Re: pre extending hash? - need speed
authorSpider Boardman <spider@Orb.Nashua.NH.US>
Mon, 30 Sep 1996 05:13:28 +0000 (01:13 -0400)
committerAndy Dougherty <doughera@lafcol.lafayette.edu>
Mon, 30 Sep 1996 05:13:28 +0000 (01:13 -0400)
commit85581909df34d9ffca6c85cafeb2595c4cb89ffb
tree0dc96a7001ca20413c51a5bfb0afee40b5defd09
parentedc7bc4959621ea7da76262c92da0b8af51b93fe
Re: pre extending hash? - need speed

The patch below (which is relative to perl5.001l) implements
"keys %hash = 50_000;" (or other integer-evaluable sizes) for
pre-sizing hashes.  I've only moved the patch forward from
when I first did it.  I'm sure the code in hv_ksplit could be
improved.
doop.c