This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
toke.c, S_intuit_method: Minor parsing speedup for 'maybe_method $foo'
authorBrian Fraser <fraserbn@gmail.com>
Sat, 9 Mar 2013 19:17:04 +0000 (16:17 -0300)
committerKarl Williamson <public@khwilliamson.com>
Mon, 20 May 2013 14:59:04 +0000 (08:59 -0600)
commit04e07f8b182303f6e9b4b3d126298bc9e4188a38
treefef63973de3fb206eb1a8280fc92757db9868ceb
parent14bd96d0d32197b524e28d524c167be29047a671
toke.c, S_intuit_method: Minor parsing speedup for 'maybe_method $foo'

This commit moves a scan_word() closer to when it's actually used,
which provides a minor speedup for things like 'new $foo' or
'is $foo, $bar'.
toke.c