Closed takawitter closed 9 years ago
I implemented UnsafeDoubleArray but that makes no significant speed gain. Building got little first, finding isn't changed or sometime little slower.
class | build | find(contains) |
---|---|---|
DoubleArray | 453 | 111 |
UnsafeDoubleArray | 430 | 118 |
Hmmm...
replace codes to access base and check array with codes those use Unsafe.getInt/putInt.