maybe i'm missing the point here, but dividing by a power of 2 can be done very fast by right-shifting. hard to beat that.
>Romain - The idea was to see which is faster to cut an int in half - >multiplying by a float (.5) or dividing by two. I've read that >divides are terribly slow but apparently not as bad as floating point >multiplications w/ a cast back to an int. -- jason.software.particle --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

