Revert "Perf: split some computation out of loop. Perform"
Revert "Perf: split some computation out of loop. Perform"

This reverts commit e1b6f0f9037eb9020a4d94fbd493b81442730156.

dignati/onyx,iperdomo/onyx,KevinGreene/onyx,mccraigmccraig/onyx,tomasu82/onyx,Deraen/onyx,ideal-knee/onyx,intfrr/onyx,onyx-platform/onyx,vijaykiran/onyx