Structs that have interpolated variables through the use of interp() aren't getting garbage collected and will slow the game down once there are too many things to interpolate. The only workaround for this is to call gc_collect() manually after detecting any dead interpolated instances.
Structs that have interpolated variables through the use of
interp()
aren't getting garbage collected and will slow the game down once there are too many things to interpolate. The only workaround for this is to callgc_collect()
manually after detecting any dead interpolated instances.Still not sure if this is related to Catspeak: https://github.com/katsaii/catspeak-lang/issues/91
2024/01/22: Catspeak functions no longer use
self
which may mitigate this issue, needs testing.