lua-users home
lua-l archive

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


On Jan 15, 2010, at 3:45 AM, Peter Sommerfeld wrote:

> I'm not sure I understand the benchmark and the numbers correctly.
> Does it mean that there is no reason to avoid costly patterns
> like objects using closures (PiL 16.4) and others anymore?

The object benchmarks (and mine which were quite similar) are measuring dispatch and access to object state. What they aren't measuring is the cost of creating and collecting the objects.

Mark