diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2004-07-31 16:21:50 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2004-07-31 16:21:50 +0000 |
commit | 166f8a29442475f7fe0e9216f957512a793bc4ed (patch) | |
tree | 8e8ad9e187566d63a5ce23b4a3f7591a036f3d69 /pp_hot.c | |
parent | d75b63cf816cfa51767ad10e3bdb7a0c01242457 (diff) | |
download | perl-166f8a29442475f7fe0e9216f957512a793bc4ed.tar.gz |
Add comment to the top of most .c files explaining their purpose
p4raw-id: //depot/perl@23176
Diffstat (limited to 'pp_hot.c')
-rw-r--r-- | pp_hot.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -16,6 +16,19 @@ * Fire, Foes! Awake! */ +/* This file contains 'hot' pp ("push/pop") functions that + * execute the opcodes that make up a perl program. A typical pp function + * expects to find its arguments on the stack, and usually pushes its + * results onto the stack, hence the 'pp' terminology. Each OP structure + * contains a pointer to the relevant pp_foo() function. + * + * By 'hot', we mean common ops whose execution speed is critical. + * By gathering them together into a single file, we encourage + * CPU cache hits on hot code. Also it could be taken as a warning not to + * change any code in this file unless you're sure it won't affect + * performance. + */ + #include "EXTERN.h" #define PERL_IN_PP_HOT_C #include "perl.h" |