lua-users home
lua-l archive

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


Hi Erik,

this is mentioned in the Programmin in Lua Book, chapter 21.6 (page 214)


    line = (' '):rep(50000):match'([^\n]*)\n'

takes > 20 seconds on my PC. Adding a start-anchor: