Change 27524 by [EMAIL PROTECTED] on 2006/03/16 22:20:57
Note that it's worth looking to downsize variables in the interpreter
structure.
Affected files ...
... //depot/perl/pod/perltodo.pod#134 edit
Differences ...
==== //depot/perl/pod/perltodo.pod#134 (text) ====
Index: perl/pod/perltodo.pod
--- perl/pod/perltodo.pod#133~27461~ 2006-03-10 04:57:18.000000000 -0800
+++ perl/pod/perltodo.pod 2006-03-16 14:20:57.000000000 -0800
@@ -371,6 +371,16 @@
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
End of Patch.