lua-users home
lua-l archive

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


> Interesting to see that in functions such as lua_rawseti, `hvalue` is
> now called twice.
> Was this fixing any particular issue?

No. 'hvalue' is a macro that produces one addition and one load:

  hvalue(o)  ->  ((&((((union GCUnion *)((((o)->value_).gc))))->h)))

Hopefuly any reasonable compiler will optimize these two "calls" into
one.

-- Roberto