Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: PL_strtab/SHAREKEYS and copy-on-write leakby dave_the_m (Monsignor) |
on Jul 20, 2018 at 21:59 UTC ( [id://1218968]=note: print w/replies, xml ) | Need Help?? |
NODEFAULT_SHAREKEYS as a build option is undocumented, untested, and has probably suffered much bitrot over the years.
Note that if you disable the shared key hash, then every object will use its own storage for every hash key. For example if a process creates 1000 objects, each being a hash with the same fixed set of keys (but differing values of course), then that process will store 1000 copies of each key. I doubt that you can safely and reliably shrink PL_strtab via XS. Dave.
In Section
Seekers of Perl Wisdom
|
|