☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 day agotimeoutSortlemmy.mlimagemessage-square7fedilinkarrow-up189arrow-down11cross-posted to: programmer_humor@programming.dev
arrow-up188arrow-down1imagetimeoutSortlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 day agomessage-square7fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareEphera@lemmy.mllinkfedilinkEnglisharrow-up11·1 day 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-squarejimmux@programming.devlinkfedilinkarrow-up5·23 hours agoOr just the size of the largest input?
minus-squareEphera@lemmy.mllinkfedilinkEnglisharrow-up2·19 hours 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. 🙃