From: Father Chrysostomos Date: Tue, 27 Nov 2012 15:08:08 +0000 (-0800) Subject: [Merge] New COW mechanism X-Git-Tag: v5.17.7~248 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/cd298ce42eb3c82a651608c3fbd658ec616b0297 [Merge] New COW mechanism This branch makes string copying faster by introducing a new copy-on- write mechanism. A reference count for the string buffer is now stored inside the string buffer itself. This can be disabled with -Accflags=-DPERL_NO_COW. It also disables the PL_sawampersand mechanism, as copy-on-write can now be used for the pre-match ‘copy’, resulting in no slow- down from using $& and f(r)iends. This can be reënabled with -Accflags=-DPERL_SAWAMPERSAND. --- cd298ce42eb3c82a651608c3fbd658ec616b0297