[REP++] Loop Optimize?
#2

Sizeof is an operator, not a function. It gets evaluated at compile time and has no impact on performance. Use method 1. For a function call use method 2 so the function doesn't get invoked again with every iteration.
Reply


Messages In This Thread
[REP++] Loop Optimize? - by KessMan - 24.01.2017, 16:33
Re: [REP++] Loop Optimize? - by Vince - 24.01.2017, 16:39

Forum Jump:


Users browsing this thread: 1 Guest(s)