This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove redundant field from inversion lists
authorKarl Williamson <public@khwilliamson.com>
Fri, 12 Jul 2013 21:11:26 +0000 (15:11 -0600)
committerKarl Williamson <public@khwilliamson.com>
Tue, 16 Jul 2013 19:58:12 +0000 (13:58 -0600)
commit4c60406d0e89efe615812945449c96f48bf70433
tree6fe559069a877628fbbab7873bcfd09fa539b6e0
parentbb023b4f5363e492abb21c941380d9a69f29631b
Remove redundant field from inversion lists

The number of elements in an inversion list is a simple calculation
based on SvCUR().  Prior to this patch there was a field that contained
that number directly, and the two values diverged, causing a bug.  A
single value can't get out-of-sync with itself.
embed.fnc
embed.h
inline_invlist.c
proto.h
regcomp.c
sv.h