|
Javier wrote:
on a related issue: in LTN9, there's the advice not to build big strings by accumulation, instead it uses a stack and merges it down in a binary algorithm. i ask: what about building an array with table.insert() and get the final string with table.concat()? isn't that faster/easier?
Yes, table.concat is an implementation of LTN9. Say, Lua Technical Note maintainers -- is there a reason why LTN12 <http://lua-users.org/wiki/FiltersSourcesAndSinks> is not on <http://www.lua.org/notes/> the Lua Technical Notes page? -- Aaron