deno_std icon indicating copy to clipboard operation
deno_std copied to clipboard

feat(collections/unstable): support `Iterable` argument in `slidingWindows`

Open Liam-Tait opened this issue 1 year ago • 1 comments

Support Iterable for slidingWindows

While working here I have made the errors a bit more granular.

With light benchmarking I have also made the array use case around ~2x faster (on my machine).

  • [x] Remove the benchmark before merging (causing lint error as it is not exported)

#5470

Liam-Tait avatar Oct 07 '24 12:10 Liam-Tait

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.57%. Comparing base (065296c) to head (5754288). Report is 20 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6095      +/-   ##
==========================================
- Coverage   96.75%   96.57%   -0.19%     
==========================================
  Files         509      535      +26     
  Lines       39175    40583    +1408     
  Branches     5795     6095     +300     
==========================================
+ Hits        37905    39193    +1288     
- Misses       1228     1346     +118     
- Partials       42       44       +2     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Oct 07 '24 12:10 codecov[bot]