Mark Erikson

Results 1264 comments of Mark Erikson

Took a stab at trying to override the non-mutating array methods, and unfortunately there's a lot more complexity than I expected in order to match the existing behavior and what...

Awright, I have some very good news! Earlier I filed PRs to add more tests and benchmarks, and merged those: - #1181 - #1182 and updated the "small but meaningful...

Did some more interesting investigations today. I have an RTKQ benchmark app that mounts 1000 query-using components at once (causing 1000 immediate Redux actions as components subscribe, and then 1000...

Awright, I'm _very_ happy to report that I've filed the three primary perf optimization PRs! - #1164 - #1183 - #1184 Combined, those give us anywhere from **30-90% speedups depending...

Okay, the initial perf tweaks PR is out as https://github.com/immerjs/immer/releases/tag/v10.2.0 ! Note that this still defaults to `strictIteration: true` for compatibility, but you can now import and call `setUseStrictIteration(false)` to...

I've put up a draft PR that has a potential change to `shallowCopy` to use `Object.keys().forEach()` instead of `{...}`. I'm not 100% convinced it's an improvement in enough cases, but...

Updated the array method override PR to convert it into an optional plugin to save on default bundle size: - #1184 As of that PR, the perf numbers look like...

Excited to report I just released Redux Toolkit v2.10.0, which updates to the latest Immer 10.2 to pick up its immutable update perf improvements! Also did a bunch of additional...

Have you looked into using a Git library like https://github.com/nodegit/nodegit or https://github.com/isomorphic-git/isomorphic-git ? Might conceivably be faster than spawning a bunch of processes.