Skip to content

Conversation

@khwilliamson
Copy link
Contributor

The major part of this p.r. is to change this function to set an upper limit to parsing. Previously it used the remaining length, which had to be continually adjusted during the parse.

  • This set of changes does not require a perldelta entry.

Creating an upper limit to parse allows us to write while (s < e) for
example, and that limit is constant, requiring fewer operations than the
other way, where the remaining length keeps getting changed.

It also allows this commit to move an 's++' a couple of lines to get rid
of comparing against the number '8' which could get out of sync.
This removes a special case, paving the way for potential future
generalizations.
This caused an extra assignment that was then discarded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants