lua-users home
lua-l archive

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


On Jan 5, 2012, at 12:34 PM, Petite Abeille wrote:

>> Try this patch. Let me know when it finishes ;)
> 
> Mwahahaha! 
> 
> $ lua TestHeader2.lua random.txt
> processing	random.txt
> random.txt	size	8388650	seconds to process	3.203876
> 
> $ lua TestHeader.lua not-so-random.txt
> 
> --[[
> Many hours of quality time ensues...
> The Girl From Ipanema by Astrud Gilberto
> http://www.youtube.com/watch?v=3jrJ5mcCshw
> ]]--

More specifically:

$ lua TestHeader2.lua not-so-random.txt
processing	not-so-random.txt
not-so-random.txt	size	8388650	seconds to process	1896.973532

So, in summary:

random                     3.203876
not-so-random 1896.973532