- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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?Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page