[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.3.2 (rc1) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 19 Nov 2015 11:15:11 -0200
> 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