This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
in CLONEf_JOIN_IN, cache found stashes
authorDavid Mitchell <davem@iabyn.com>
Mon, 5 Jul 2010 21:25:12 +0000 (22:25 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 14 Jul 2010 22:06:17 +0000 (23:06 +0100)
commit96bafef935f82644670a19c8ca57886c240cd969
treee70a660dd400ee683de795ef1d64c76258aae751
parentab95db60dabd8d8c36f2a83a140b52898d8d4f68
in CLONEf_JOIN_IN, cache found stashes

When joining a thread, we skip cloning a stash if a stash of the same
name already exists in the parent thread. Add it to PL_ptr_table too, so
we don't have to repeat the expensive name comparison each time
sv.c