3 ms·
Correction: Division by arbitrary integer valued variables are the slowest integer operations. You can accomplish division by a constant / modulus by a constan
by TheLoneWolfling 12y ago
Correction: Division by arbitrary integer valued variables are the slowest integer operations.
You can accomplish division by a constant / modulus by a constant without a full division, however. For example, (x == x % 256 - x * 256), mod 257. That sort of thing.