Closed KnorpelSenf closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 47.74%. Comparing base (
a104c42
) to head (e87ba8b
). Report is 3 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
V8 is fairly optimized for
[...arr]
and my benchmarks only show a few nanoseconds of improvement for Deno, regardless of the size of the array. However, in general, creating an iterator over an array, traversing all elements on it, and pushing them onto a new array will be slower than aslice
call. Since grammY runs in more environments, we can expect greater improvements elsewhere.