JAL-98 performance tweaks to use of SparseIntArray