☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 4 months agotimeoutSortlemmy.mlimagemessage-square8linkfedilinkarrow-up193arrow-down10cross-posted to: programmer_humor
arrow-up193arrow-down1imagetimeoutSortlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 4 months agomessage-square8linkfedilinkcross-posted to: programmer_humor
minus-squareEphera@lemmy.mllinkfedilinkEnglisharrow-up14·4 months agoI mean, it does scale with the size of the input. Just not with the count of inputs, but rather the size of each input element.
minus-squareEphera@lemmy.mllinkfedilinkEnglisharrow-up2·4 months agoOh yeah, I do think setTimeout executes in parallel, so only the largest element determines the execution time. It was difficult enough to make that sentence make sense, so I didn’t want to cram that detail in as well. 🙃
I mean, it does scale with the size of the input. Just not with the count of inputs, but rather the size of each input element.
Or just the size of the largest input?
Oh yeah, I do think
setTimeoutexecutes in parallel, so only the largest element determines the execution time. It was difficult enough to make that sentence make sense, so I didn’t want to cram that detail in as well. 🙃