lua-users home
lua-l archive

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


Steve wrote

> BTW, markdown.lua gets really slow with these big documents. 

That is because it uses functions of type string->string
instead of rope->rope. It is not sufficiently lazy.
String concatenation should be avoided in Lua. 
It is usually never needed if the result is to be written
out to a file. 

-- 
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/