[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Bug with unchecked stack overflow with coroutines
- From: Marco Antonio Abreu <mabreu@...>
- Date: Mon, 11 Feb 2008 10:25:11 -0300
So, you can try this:
j = 1e4
co = coroutine.create(function() t = {} for i = 1, j do t[i] = i end
return t end)
b, tt = coroutine.resume(co)
print(b,unpack(tt))
It works im my computer.
[]'s
Marco Antonio Abreu
IT Quality Systems
mabreu@itquality.com.br
http://www.itquality.com.br