Antique Atlas

Antique Atlas

32M Downloads

Switch from short to int for coordinate representation

Hunternif opened this issue ยท 0 comments

commented

Because JVM apparently used a 32-bit "cell" for holding all primitive types, and this even incurs a performance penalty for arithmetic operations.
http://stackoverflow.com/questions/14531235/in-java-is-it-more-efficient-to-use-byte-or-short-instead-of-int-and-float-inst