diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-03-16 22:20:57 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-03-16 22:20:57 +0000 |
commit | c1ab7b38fcd3bc8e1433bc0b361e5e875c51124e (patch) | |
tree | 61ac09c7de2fee3c370e9aff4a9d384d99413502 /pod | |
parent | 4c7185a07e25505552ddaccbbf403de695f6ce67 (diff) | |
download | perl-c1ab7b38fcd3bc8e1433bc0b361e5e875c51124e.tar.gz |
Note that it's worth looking to downsize variables in the interpreter
structure.
p4raw-id: //depot/perl@27524
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perltodo.pod | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pod/perltodo.pod b/pod/perltodo.pod index be129d8bed..1648ab4baf 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -371,6 +371,16 @@ since a change over a year earlier. Had this been spotted before release, it could have been removed, but now it has to remain in the 5.8.x releases to keep the structure the same size, to retain binary compatibility. +It's probably worth checking if all need to be the types they are. For example + + PERLVAR(Ierror_count, I32) /* how many errors so far, max 10 */ + +might work as well if stored in a signed (or unsigned) 8 bit value, if the +comment is accurate. C<PL_multi_open> and C<PL_multi_close> can probably +become C<char>s. Finding variables to downsize coupled with rearrangement +could shrink the interpreter structure; a size saving which is multiplied by +the number of threads running. + =head2 am I hot or not? The idea of F<pp_hot.c> is that it contains the I<hot> ops, the ops that are |