17:46
<bakkot>

the iterator chunking proposal has a .windows helper which is like [...[1, 2, 3, 4, 5].values().windows(3)] // [ [1, 2, 3], [2, 3, 4], [3, 4, 5] ]. what behavior you expect when the specified window size is larger than the total number of items in the iterator? options I see:

  1. you get an empty iterator, any items in the window are silently dropped
  2. you get an iterator which holds a single undersized window with all items in the iterator
  3. throw
17:47
<bakkot>
(the emoji reacts are supposed to be 1/2/3 so you can vote but they're just black boxes for me. idk, matrix.)
17:49
<bakkot>
(github issue if you want to voice an opinion there: https://github.com/tc39/proposal-iterator-chunking/issues/13 )
18:54
<Michael Ficarra>
they're also out of order, which almost made me choose the wrong option
19:01
<bakkot>
yeah it sorts them in descending order of popularity :(