lua-users home
lua-l archive

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


If you use the compiled version of Lua inside your source code (NOT
pre-linked, as e. g. Windows-DLL), this usually is no problem, just
look for the randomize functions and place some breakpoint there.

... I ran into this some months ago (my controller also has a special
analogue random generator) - these are not many points you have to
change (I think only two...).

(If I have the answers on my questions here correctly in mind, this
randomization is done mainly as a "random source" for the hash code
generation, which is needed to speed up access to the string tables /
for string equality checking... . To avoid "evil hackers" to flood Lua
with some "predefined set of strings" which then would somehow "flood
the hash table concept" / "make it unusable".)