Lua Challenge: the Catastrophes plugin
#46
I have an idea for optimisation: most cChunk::Get/SetBlock functions do multiple comparisons for error checking, which theoretically shouldn't be needed in release since I remember xoft saying in one of my PRs that those functions shouldn't do sanity checks for their callers, and someone else saying that the server will not be made to protect against badly written plugins.

Moving those checks into debug only conditions may help?
Reply
Thanks given by:


Messages In This Thread
Lua Challenge: the Catastrophes plugin - by xoft - 05-21-2015, 09:29 PM
RE: Lua Challenge: the Catastrophes plugin - by tigerw - 05-24-2015, 08:44 AM



Users browsing this thread: 26 Guest(s)