SIGN IN SIGN UP
immerjs / immer UNCLAIMED

Create the next immutable state by mutating the current one

0 0 57 JavaScript

feat: Override array methods to avoid proxy creation while iterating and updating (#1184)

* Intercept array methods to skip proxy creation for perf

* Add allReassigned flag

* Improve isArrayIndex

* Drop dead test

* Move array methods to a new plugin

* Run additional base tests with array method plugin enabled

* Add immutability-profiling script

* Update benchmarks to use enableArrayMethods

* Add additional array method tests

* Document array method internal behaviors

* Update import size values

* Update import size command

* Add array plugin docs
M
Mark Erikson committed
d38a9d046b79e65fc879ed286be43e9753e24144
Parent: 99e59a8
Committed by GitHub <noreply@github.com> on 12/19/2025, 2:40:34 PM