XP is just a number | |
PerlMonks |
Re^2: PL_strtab/SHAREKEYS and copy-on-write leakby sezal (Novice) |
on Jul 30, 2018 at 08:19 UTC ( [id://1219460]=note: print w/replies, xml ) | Need Help?? |
Dave,
Attempt to disable DEFAULT_SHAREKEYS was no more then just attempt to proof my assumptions regrading PL_strtab. I understand its not a good idea for production. I also not sure shrinking of PL_strtab (even it it's possible) will help. Perl may not release memory to OS, thus copy-on-write will occur. From what I see in sv.c and util.c Perl doesn't provide any API to dynamically enable/disable DEFAULT_SHAREKEYS for new hashes. :( Thank you.
In Section
Seekers of Perl Wisdom
|
|