Based on discussion in #44. Trace the performance of this function and/or just move it to another thread.
Since we still have to invoke the Swindler event on the main thread, I was worried about "unnecessary overhead" before, but I think that's negligible for a rare event compared to a potential main thread freeze.
Based on discussion in #44. Trace the performance of this function and/or just move it to another thread.
Since we still have to invoke the Swindler event on the main thread, I was worried about "unnecessary overhead" before, but I think that's negligible for a rare event compared to a potential main thread freeze.