02:55
<Jack Works>
yup, or that's simple enough that I feel okay doing an arr.reduce((a,b)=>Math.max(a,b))
Isn't that a performance waste? You can split them into slices of thousands instead of one by one
03:00
<TabAtkins>
In the rare cases I care about that, maybe
04:48
<Jack Works>
An array with 2^32-1 (is that maximum argument count?) Is also rare case
04:55
<Jessidhia>
2^32-1 is the maximum array size, but the problem here is arguments being capped at 2^20-ish in some engines
06:30
<bakkot>
a lot less in some cases; safari tops out at 2^16, on my machine
13:41
<tolmasky>
It is my understanding that the grammarkdown ( https://github.com/rbuckton/grammarkdown ) does not generate a parser for a provided grammar -- is that correct? Also, is the .grammar file in there ( https://github.com/rbuckton/grammarkdown/blob/main/spec/grammarkdown.grammar ) considered to be the official "spec" for the grammar used in the ECMAScript spec?
15:32
<rbuckton>
Grammarkdown is not a parser generator, no. Also, the grammar files in the project are not authoritative