I’m wondering if we can have the best of both worlds by using an object pool instead of destroying and recreating the slots. That way we can have the clean redraw of the entire inventory, and also avoid giving the garbage collector a lot of extra work. Or is the performance hit for this sort of thing so neglibile that it’s not worth making the effort? How do you determine when an operation like this is worth optimising performance for?
Thank you.