Le 2011-10-31 à 15:42:00, Marian Weger a écrit :
i think, it would be safer to put the modulo inside the counter.
Indeed : when the counter overflows at 16777216, it sticks there and doesn't move anymore.
It's not technically an «overflow», but it's certainly the place where +1 stops working at all, so, contextually, it's still where failure starts.
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC