[FIXED] Load icons from String instead of using a byte[]

Started by Matthias, June 24, 2011, 16:47:30

Previous topic - Next topic

Matthias

Initializing a byte[] is done via code using lots of array store instructions. This results in a huge file class size.

Replace the initialized byte[] with a String and create the ByteBuffer from that. This saves 20KB of class file size and less code the execute (via interpreter) on start up.