[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: proposal for reading individual characters from strings faster
- From: Sean Conner <sean@...>
- Date: Sat, 3 May 2014 17:56:59 -0400
It was thus said that the Great Coroutines once stated:
>
> PS: Please don't just reply "You can do this with gsub()!" I contend
> that it can be natural to use either approach, depending on the
> situation. Sometimes the functional form of gsub() makes sense,
> sometimes I feel like this would look cleaner (and be faster over
> invoking the pattern matching facilities of gsub).
Okay, I'll refrain from saying "You can do this with gsub()!" and instead
say, "You can do this with LPeg!" [1]
-spc (On second thought, let me say "You should do this with LPeg!")
[1] You do know that LPeg generates code for a parsing-engine VM?