This is the kind of attention to detail I enjoy very much: Which is better on Android: divide by 2 or shift by 1? - Jake Wharton