This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
todo.pod: Clean up entries related to op slabs
authorFather Chrysostomos <sprout@cpan.org>
Thu, 12 Jul 2012 19:40:32 +0000 (12:40 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 12 Jul 2012 20:20:11 +0000 (13:20 -0700)
commit2723c0fb189e0e7ba1d917fdb4a00e30bf979b62
tree7604c1c89d964fc83dd91d1749bd8ff27954aa3c
parent7aef8e5bd1492c43f457ca4b48d5fd445e579949
todo.pod: Clean up entries related to op slabs

Note about storing the current pad with the ops:  If each slab belongs
to a CV (which is the case), then we would only ever walk the slab to
free its ops when the CV itself is freed.  When that happens, the pad
is about to freed anyway, so freeing pad entries for each op is unnec-
essary, and has probably always been so.  Note that cv_undef actually
sets PL_comppad and PL_curpad to null before freeing ops, to avoid
having to have them point at the right pad, and probably also to avoid
the unnecessary overhead of tracking which pad entries are available
for reuse.
Porting/todo.pod