Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        $x = $c->x; $y = $c->y;
      },
    });
    
  2. or download this
                    Rate PerlMethods    cMethods
    PerlMethods 111297/s          --        -17%
    ...
                    Rate PerlMethods    cMethods
    PerlMethods 108460/s          --        -22%
    cMethods    139179/s         28%          --
    
  3. or download this
    use strict;
    use warnings;
    ...
        }
      },
    });
    
  4. or download this
                  Rate PerlMethods    cMethods
    PerlMethods 2933/s          --        -44%
    ...
                  Rate PerlMethods    cMethods
    PerlMethods 2949/s          --        -44%
    cMethods    5246/s         78%          --
    
  5. or download this
    package PerlMethods;
    use strict;
    ...
    }
    
    1;
    
  6. or download this
    package CMethods;
    use strict;
    ...
    
    
    1;
    
  7. or download this
    #include "EXTERN.h"
    #include "perl.h"
    ...
          EXTEND(SP, 1);
          PUSHs(y ? *y : &PL_sv_undef);