Currently, many operations on the conversions between tile coordinates and pixel/entity coordinates are done by multiplication and division operators. For both readability and performance, they are mostly converted to bit shifts of 4. A tile consists of 16 units (exactly 4 bits), so using bitwise operators might be more suitable. In terms of performance, this only makes some micro-optimizations. More info: https://stackoverflow.com/q/1168451
Currently, many operations on the conversions between tile coordinates and pixel/entity coordinates are done by multiplication and division operators. For both readability and performance, they are mostly converted to bit shifts of 4. A tile consists of 16 units (exactly 4 bits), so using bitwise operators might be more suitable. In terms of performance, this only makes some micro-optimizations. More info: https://stackoverflow.com/q/1168451