Re: Most efficient way to recognize a line by its first (up to) three characters
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Most efficient way to recognize a line by its first (up to) three characters
- From: Dirk Laurie <dirk.laurie@...>
- Date: 2014年3月11日 20:47:41 +0200
2014年03月11日 20:27 GMT+02:00 <meino.cramer@gmx.de>:
> Dirk ... with less poetry: I dont know LPegs internals.
> If LPeg includes compiled C-code: No
> If LPeg is written in Lua itself: Yes.
Well, now. Roberto's LPeg is written in C, but there exists
a drop-in replacement `lulpeg` by Pierre-Yves Gérardy written
in Lua.
The answer vis-a-vis efficiency may however not stay the same
for the two versions.