This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Allow custom PL_strtab hash in perl_construct.
authorNicolas R <atoomic@cpan.org>
Wed, 8 Nov 2017 15:56:20 +0000 (08:56 -0700)
committerNicolas R <atoomic@cpan.org>
Wed, 8 Nov 2017 21:43:06 +0000 (14:43 -0700)
commitc82f4881ef5707de95df291fc9208f1c4c0e9f9e
tree3dc61a00bf17f6940e1b11973180974896e92251
parenta500027bc99f7c703b94e5cd2a2780455307da90
Allow custom PL_strtab hash in perl_construct.

Such a patch allow PL_strtab optimizations at compile time
to statically malloc PL_strtab to an optimized size at startup.

Custom entries can then be added (after PL_hash_seed initialization)
without risking the hash to be reset by perl_construct.
perl.c