- or download this
PerlSubCall => sub {
my $c = PerlMethods->new;
...
$x = $c->{x}; $y = $c->{y};
}
}
- or download this
Rate PerlMethods PerlSubCall cMethods cSubCall Direct
+ Fields
PerlMethods 1875/s -- -4% -64% -72% -80%
+ -80%
...
cSubCall 6596/s 252% 238% 28% -- -29%
+ -31%
Direct 9242/s 393% 374% 79% 40% --
+ -4%
Fields 9597/s 412% 392% 86% 45% 4%
+ --
- or download this
package UsingFields;
use strict;
...
}
1;