Why was “Avoid Enums Where You Only Need Ints” removed from Android’s performance tips?

the original version of that document was just a bunch of prejudices. it’s been rewritten to only contain facts backed up by actual benchmarks, and it’s updated as the VM is updated. you can find the various benchmarks — plus some of the benchmarks we use to optimize the core libraries — at http://code.google.com/p/dalvik/.

Leave a Comment