this is trash bruh 😭😭😭
also the FillMemory
function at source/cgen/fill.pwn is flawed, idk what the compiler (or the user, with #emit
) even generates when calling functions and the codescan might replace a great amount of FillMemory
calls but when it doesn't the function won't do anything, it needs to provide an alternative for when the codescan fails to find and replace one of the function calls
it's actually not needed to do all that bs, you won't even get a great speed benefit from replacing conventional array filling methods with a single fill
instruction. whatever, just use MemSet
from YSI or some loop to array size or whatever.