01
Work History
02
Recent writing
Material.values() copies 8.6KB every time you call it
every call clones the whole enum array, on paper thats 8632 bytes. threw it in JMH to see what it actually costs.
Billions must use -XX:+UseCompactObjectHeaders
one flag, 4 bytes off every object on the heap. minecraft gets more out of it than basically anything else you'd run.
03