[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.4.2 (lua_newstate)
- From: Andrew Gierth <andrew@...>
- Date: Mon, 09 Nov 2020 19:41:34 +0000
>>>>> "Ranier" == Ranier Vilela <ranier.vf@gmail.com> writes:
Ranier> at lua_newstate function, the loop for initializing a fixed
Ranier> array, can be securely changed by memset.
In addition to the other comments, note that modern compilers will
transform assignment loops into memset calls or inline implementations
of memset if circumstances suggest it will be both allowable and
efficient to do so.
--
Andrew.