kschiess/parslet — pull request #74 by zmoazeni (2013-03-21 02:14:56+00:00)
Title: Optimizes multibyte parsing

String#index and String#[] has terrible performance, O(n),when multibyte
characters are included in the string. So this uses the stdlib
StringScanner and uses regexp for all matching.

Relevant links:

* https://bugs.ruby-lang.org/issues/8129
* #73 - https://github.com/kschiess/parslet/issues/73

I created specs for LineCache first before refactoring.