Short-circuit String tokenization. #89

wants to merge 1 commit into


1 participant

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.


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