From: Nicholas Clark Date: Sun, 29 Oct 2006 18:23:01 +0000 (+0000) Subject: I shrunk struct context, so remove it from perltodo. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=65c444ad9fe5f91a61ff1b7dcf47f383cf2a0f8a;p=p5sagit%2Fp5-mst-13.2.git I shrunk struct context, so remove it from perltodo. p4raw-id: //depot/perl@29128 --- diff --git a/pod/perltodo.pod b/pod/perltodo.pod index 7b0bcd7..c85174e 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -380,23 +380,6 @@ as part of exercising your skills with coverage and profiling tools you might want to determine what ops I are the most commonly used. And in turn suggest evictions and promotions to achieve a better F. -=head2 Shrink struct context - -In F, we have - - struct context { - U32 cx_type; /* what kind of context this is */ - union { - struct block cx_blk; - struct subst cx_subst; - } cx_u; - }; - -There are less than 256 values for C, and the constituent parts -C and C both contain some C and C fields, -so it should be possible to move them to the first word, and share space with -a C C, saving 1 word. - =head2 Allocate OPs from arenas Currently all new OP structures are individually malloc()ed and free()d.