lua-users home
lua-l archive

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


> these function as API may reduce dll calls, and reduce lua lock operatiosn.
> and to do loop in lua core may faster than do that youself.

Unfortunatelly, this is true for any loop over the API (and is true
for most other APIs, too). Wouldn't we need multi-value versions for
lua_rawgeti, lua_rawseti, lua_gettable, lua_settable, etc.?

(lua_remove and lua_insert, however, due to their non-constant cost,
may be worth considering.)

-- Roberto