This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
study uses I32 internally for offsets, so should be skipped for long strings.
authorNicholas Clark <nick@ccl4.org>
Thu, 19 May 2011 09:14:16 +0000 (10:14 +0100)
committerNicholas Clark <nick@ccl4.org>
Thu, 19 May 2011 09:14:16 +0000 (10:14 +0100)
commit5d59f95a83d2d9d7301ce45f2d288c286a51219b
tree95b940d44e1601538a9e07fc19d45575cf1fedbf
parent5f57559b4e9559e982a8b8ab826c0a0cef6ee4b2
study uses I32 internally for offsets, so should be skipped for long strings.

It already skips for anything that isn't a plain byte string with non-zero
length. Otherwise it risks becoming confused for strings longer than 2**31.
pp.c