-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
We don't yet have any performance rules, so let's use this issue to track ideas.
We're looking for syntax replacements of {slow syntax} -> {fast syntax}.
NOTE, this isn't only about CPU perf, we should flag memory inefficient things too.
Suggestions
I'll update this list as we discuss.
[...iter].map(mapper)toArray.from(iter, mapper)Array.fromonly makes one copy whereas spread and map makes an intermediate array
Array.from(iter)to[...iter]Array#forEachtofor...of
dubzzzmacarie
Metadata
Metadata
Assignees
Labels
No labels