Optimizing a physobj wake loop
⚡ Performance•Updated 2 days ago•0 views
Function call overhead is minor; the loop is already near-optimal - you can only throttle how often the isAsleep check runs, there's no faster built-in path.
Is calling a function slower than a plain for loop / can this physobj loop be optimized
Function call overhead is minor; the loop is already near-optimal - you can only throttle how often the isAsleep check runs, there's no faster built-in path.