Skip to content

Commit

Permalink
Don't use Exporter; speed up pmc2c.pl
Browse files Browse the repository at this point in the history
build of src/pmc/integer.c goes from 2s to .4s
(??!?)
  • Loading branch information
coke committed Jan 6, 2011
1 parent b1e1172 commit a976f75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Parrot/Pmc2c/VTable.pm
Expand Up @@ -4,7 +4,7 @@ use strict;
use warnings;

use Storable ();
use Parrot::Vtable;
use Parrot::Vtable ();
use Parrot::Pmc2c::Method ();
use File::Basename;
use Cwd qw(cwd);
Expand All @@ -19,7 +19,7 @@ sub new {

sub build {
my ( $self, $filename ) = @_;
my $vtable_table = parse_vtable($filename);
my $vtable_table = Parrot::Vtable::parse_vtable($filename);

my ( %method_lookup, @methods, @method_names );

Expand Down

0 comments on commit a976f75

Please sign in to comment.