diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-01-11 17:00:59 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-01-11 17:00:59 +0000 |
commit | 402d2eb1990caf116b392579a55f0a4f317d2738 (patch) | |
tree | 724a49a2c107179dda8887755c54a52a720e9144 /intrpvar.h | |
parent | 2f3529075cdaceeaf619b8bd308885878ec9828a (diff) | |
download | perl-402d2eb1990caf116b392579a55f0a4f317d2738.tar.gz |
Pack the recycled pad offsets into an SV at PL_regex_pad[0]. This will
use less memory than an AV.
p4raw-id: //depot/perl@32959
Diffstat (limited to 'intrpvar.h')
-rw-r--r-- | intrpvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intrpvar.h b/intrpvar.h index d457028ec1..06014efc23 100644 --- a/intrpvar.h +++ b/intrpvar.h @@ -564,7 +564,8 @@ PERLVAR(Iregex_pad, SV**) /* Shortcut into the array of regex_padav */ PERLVAR(Iregex_padav, AV*) /* All regex objects, indexed via the values in op_pmoffset of pmop. - Entry 0 is an array of IVs listing + Entry 0 is an SV whose PV is a + "packed" list of IVs listing the now-free slots in the array */ #endif |