lua-users home
lua-l archive

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

> I'm experiencing a strange slowdown in 5.3 when creating lots of
> closures. Example script is attached. It runs in under half a second
> on 5.1 and 5.2, but needs minutes in 5.3 ...

Many thanks for the report. For some reason, the GC is running much
faster (~once for every closure created) than it should in this program
and causing the slowdown. (If we stop the collector before the call to
'create_closures', the slowdown disapears.) We will have to check
why this is happening.

-- Roberto