Use `nativeSlice` when possible and adjust `largeArraySize` to account for the recent `cachedContains` tweaks.