Honored Contributor II
04-25-2018 05:19 PM
Hi, I know that both "/" and "%" functions are very expensive.Unfortunately, I couldn't avoid division in my implementation. I tried to replace the "/" function with counter, Indeed, it does help to reduce a lot of resources, but at the same time, it slows down my program. So, is it any better solution instead of replacing it with a counter?