💬

Community answer

Collected from the ACE community Discord archive around 2021-08-17. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Optimizing a physobj wake loop

⚡ PerformanceUpdated 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.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.