From: Jim Cromie Date: Sat, 15 Sep 2007 13:36:46 +0000 (-0600) Subject: [patch] qualify OP arenas item in perltodo X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=539f2c5426314080e02054800a435b5de46b293e;p=p5sagit%2Fp5-mst-13.2.git [patch] qualify OP arenas item in perltodo Message-ID: <46EC344E.3080903@gmail.com> p4raw-id: //depot/perl@31887 --- diff --git a/pod/perltodo.pod b/pod/perltodo.pod index 1095a72..34cd5a3 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -380,6 +380,11 @@ custom allocates so it would both use less memory and less CPU to allocate the various OP structures from arenas. The SV arena code can probably be re-used for this. +Note that Configuring perl with C<-Accflags=-DPL_OP_SLAB_ALLOC> will use +Perl_Slab_alloc() to pack optrees into a contiguous block, which is +probably superior to the use of OP arenas, esp. from a cache locality +standpoint. See L. + =head2 Improve win32/wince.c Currently, numerous functions look virtually, if not completely,