in reply to Memory Leak Upon Cloning an XS tied hash

Here is an old gem of a tip

Do it in perl :)

Forget about XS and simply write as much as possible in perl, write a pure perl tied hash that calls various XS methods to populate the hash and cache stuff

writing a tied interface in XS is kinda zany ambitious

  • Comment on Re: Memory Leak Upon Cloning an XS tied hash