☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 6 个月前timeoutSortlemmy.mlimagemessage-square8fedilinkarrow-up185arrow-down11cross-posted to: programmer_humor@programming.dev
arrow-up184arrow-down1imagetimeoutSortlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 6 个月前message-square8fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareEphera@lemmy.mllinkfedilinkEnglisharrow-up1·6 个月前Oh 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. 🙃
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. 🙃