Isn't this whole kerfluffle about creating garbage during an iteration? Seems like Map([].map(thing => [http://thing.id , thing]) would have similar garbage ramifications to [].reduce().
-
-
This Tweet is unavailable.
-
This Tweet is unavailable.
- 1 more reply
-
-
-
-
I'm still skeptical any of this matters to the degree it's getting attention. I doubt reduce performance is anywhere near impactful for most projects. The golden rule in perf analysis is measure, then fix. I haven't seen anyone point to measurements where reduce was the problem.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.