A general question. I am gonna implement some perf...
# announcements
f
A general question. I am gonna implement some performance critical stuff. I know that primitive arrays are faster than reference arrays, what about a
Pair
? Is a
Pair<Long, Long>
as fast as a
LongArray
with two entries? It will be nicer in code since I will use two longs. How is
Pair
implemented, anyone know?