Test case name | Result |
---|---|
2-Level Map (Map<K1, Map<K2, V>>) | |
2-Level Array (V[][]) | |
2-Level Object (Object.<K1, Object.<K2, V>>) | |
1-Level Array (V[]) | |
1-Level Object (Object.<[K1, K2], V>) |
Test name | Executions per second |
---|---|
2-Level Map (Map<K1, Map<K2, V>>) | 1.9 Ops/sec |
2-Level Array (V[][]) | 4.6 Ops/sec |
2-Level Object (Object.<K1, Object.<K2, V>>) | 5.4 Ops/sec |
1-Level Array (V[]) | 0.2 Ops/sec |
1-Level Object (Object.<[K1, K2], V>) | 0.2 Ops/sec |