Reply To: Any tips for object pooling?

NodeCanvas Forums General Discussion Any tips for object pooling? Reply To: Any tips for object pooling?

#16288
ccfoo242
Participant

Thanks for the tips! When I tried to use the async option it failed miserably, but I assume that is because I’m not waiting for the background thread to finish. Do you have an example that shows how to use this option?

And to be clear, with the way you suggest to implement pooling, I don’t actually need to use asyncload? I am pre-creating about 100 objects so I figured async would help speed up that initial step.