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.