HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by zfg | Hacker News Reader
Parent
Full thread
zfg
·
>
requestAnimationFrame would not help
But have you tried it?
View on HN
noduerme
·
Yes. The same slowdown of about 50% occurs between about seconds 10 and 50 whether it's in a requestAnimationFrame loop or a setTimeout loop. And the slowdown is measurable in
just the time it takes to modify a Uint8ClampedArray within the loop
.
Reply on news.ycombinator.com