lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Recently I've been bitten a few times by very bad performing patterns
> using string.match(), which in some cases took several seconds to run on
> an input string of several tens of kilobytes.
> 
> [...]
> 
> I found the 'Patterns Tutorial' in the wiki, but this talks mainly about
> how to write patterns, but not about what options to choose when there
> are multiple options to create a pattern.

PiL has a few words about this topic: http://www.lua.org/pil/20.4.html

-- Roberto