0 votes Vote

Number of objects per interation variable

RE: ObjectsPool.cs RepositionRoutine

I noticed that I was getting big profiler spikes in "Pool Instantiate", so I lowered the hard-coded objsPerIteration from 500 to 50 and it is smooth now.

It would be nice if we could adjust that variable in the editor.

Kevin Barnett , 12.07.2020, 12:10
Idea status: completed

Comments

Wraith, 12.07.2020, 13:59
sounds reasonable
Wraith, 01.08.2021, 13:01
done for 2.1.7

Leave a comment