lua-users home
lua-l archive

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]


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.

AltStyle によって変換されたページ (->オリジナル) /