Short-circuit String tokenization. #89

Closed
wants to merge 1 commit into
from

Conversation

1 participant
Contributor

nirvdrum commented Oct 2, 2012

The short-circuit pattern doesn't really work help anyone on the i18n front, but I really don't know how multibyte characters are represented in YAML anyway. So, this may not be an issue. All tests are passing and I'm seeing a 3x speedup in the YAML file from issue #84.

Contributor

nirvdrum commented Oct 2, 2012

I found I can do this with a single regexp and save the second comparison in many cases. I'll prepare a new pull request.

@nirvdrum nirvdrum closed this Oct 2, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment