lua-users home
lua-l archive

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


What if n = 50,003 or something? Is it doing 50,002 concatenations?

Michael

----- Original Message ----- From: "Luiz Henrique de Figueiredo" <lhf@tecgraf.puc-rio.br>
To: "Lua list" <lua@bazar2.conectiva.com.br>
Sent: Wednesday, August 19, 2009 1:19 PM
Subject: Re: Simple way to create a big string of blanks?


Is there an easy way to create a large string of blanks? Say, 2500 or more long?

string.rep(" ",2500)