This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
optimise bare 'next'
authorDavid Mitchell <davem@iabyn.com>
Thu, 24 Dec 2015 22:37:48 +0000 (22:37 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 09:19:17 +0000 (09:19 +0000)
commitcd97dc8d499d664d75b7362093b5f93b8eef282d
tree4bc2580923a3c634c0f4bc4572720e4617332888
parent31705cdacf6f9aab26c6d405eaaaa3e1cf3d9b72
optimise bare 'next'

If a 'next' without a label appears directly in the scope of the current
loop, then skip searching the context stack for a suitable LOOP context.
pp_ctl.c
t/perf/benchmarks