summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2014-02-23 00:53:17 +0000
committerDavid Mitchell <davem@iabyn.com>2014-02-28 13:35:12 +0000
commitb024352e692dd231fd32548e325d75b667bff29f (patch)
tree73006fac333d4519790bfac2e8434f555ecc0c9b /dump.c
parente958ef3d8fccb2d78757ebb06ce8b1030ef4f1d0 (diff)
downloadperl-b024352e692dd231fd32548e325d75b667bff29f.tar.gz
make OP_AELEMFAST work with negative indices
Use aelemfast for literal index array access where the index is in the range -128..127, rather than 0..255. You'd expect something like $a[-1] or $a[-2] to be a lot more common than $a[100] say. In fact a quick CPAN grep shows 66 distributions matching /\$\w+\[\d{3,}\]/, but "at least" 1000 matching /\$\w+\[\-\d\]/. And most of the former appear to be table initialisations.
Diffstat (limited to 'dump.c')
0 files changed, 0 insertions, 0 deletions