summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-07-27 09:58:13 +0000
committerNicholas Clark <nick@ccl4.org>2008-07-27 09:58:13 +0000
commit3880c8ecf10dc96c62bcbf2ffe75d782d2aed4a7 (patch)
treeeb22c9f97c3e66a0063f1d006334ac3c6e078c93 /pod
parent48f8bad9292f7ad3bc0708478205cd9443717744 (diff)
downloadperl-3880c8ecf10dc96c62bcbf2ffe75d782d2aed4a7.tar.gz
Note the possibility of sharing arenas between types.
p4raw-id: //depot/perl@34160
Diffstat (limited to 'pod')
-rw-r--r--pod/perltodo.pod8
1 files changed, 8 insertions, 0 deletions
diff --git a/pod/perltodo.pod b/pod/perltodo.pod
index efe7fe221b..9421260195 100644
--- a/pod/perltodo.pod
+++ b/pod/perltodo.pod
@@ -538,6 +538,14 @@ probably aren't allocated/deallocated often enough for a speed saving. Whereas
C<MAGIC> is allocated/deallocated more often, but in turn, is also something
more externally visible, so changing the rules here may bite external code.
+=head2 Shared arenas
+
+Several SV body structs are now the same size, notably PVMG and PVGV, PVAV and
+PVHV, and PVCV and PVFM. It should be possible to allocate and return same
+sized bodies from the same actual arena, rather than maintaining one arena for
+each. This could save 4-6K per thread, of memory no longer tied up in the
+not-yet-allocated part of an arena.
+
=head1 Tasks that need a knowledge of XS