develooper Front page | perl.perl5.porters | Postings from March 2013

Two minor tweaks to toke.c

Brian Fraser
March 9, 2013 19:32
Two minor tweaks to toke.c
Message ID:
Howdy all.

I've attached two patches. The first modifies S_intuit_method by
moving a scan_word a bit lower into the function, which stops us from
doing needless work and might provide a very minor speedup for things
like 'new $foo' or 'is $foo, $bar'. Second patch modifies the
VALID_LEN_ONE_IDENT macro to take a char argument, rather than a char*
and then doing a bunch of dereferences. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About