lua-users home
lua-l archive

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


Le Tue, 17 Nov 2009 08:23:24 -0500,
Jim Pryor <lists+lua@jimpryor.net> stated:

[...]
> 
> The performance hit from using closures isn't going to come from time
> spent creating the closure, that's pretty fast. The problem is that all
> those closures use heap space, and if you create a lot of them, they're
> going to need to be garbage collected later.

Right, thank you for the information. Actually, GC (and memory management in general) is not something I spontaneously think at.

Denis
--------------------------------
* la vita e estrany *

http://spir.wikidot.com/