|
Hi, probably asked somewhere on the archive but my searches are turning up nil.
Wondering if I can get any understanding of what kind of Lua code I can write that will not invoke the memory allocator.
i.e. if I have a function that does not create any tables or strings, and I make sure that the lua_State has a lot of stack space, and pause the GC, and I only operate on numbers in a preallocated table, would it be reasonable to assume that the code would not block, and be suitable for signal processing?
I have been looking through the code and docs, but if anyone can point to some definitive material or share some caveats or encouragement, I’d really appreciate that.
Regards,
Jeremy J.