in reply to PL_strtab/SHAREKEYS and copy-on-write leak

Here's a gist with a small XS module providing a function to turn off hash key sharing per hash. Maybe this will help if you have mostly data-like hashes (unlike hashes for objects), which you have "under control" and can be marked as non-shareable before filling them.
  • Comment on Re: PL_strtab/SHAREKEYS and copy-on-write leak