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)
commit69969c6f8dad38fedd2ed2c653a7948030e5ecf8
tree3e3df0c33359d4eece399cf3645595ae8f591f1b
parent946ec16ea935ac14ffffc87fcb9676a65aabcaa5
Re: pre extending hash? - need speed

Restore the 5.003 gv_fullname() and gv_efullname() functions.
Provide new 3-arg forms gv_fullname3() and gv_efullname3().

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.
op.c