lua-users home
lua-l archive

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

>>>>> "Ranier" == Ranier Vilela <> 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.