It'd be interesting to know how atomics change the performance.
-
-
Replying to @jaffathecake @bmeurer
I'll be happy to provide you with a demo
1 reply 0 retweets 1 like -
The question is what do you care about for this demo? Incremental bumps? Or notify when done? This demo is nice b/c all states are safe
1 reply 0 retweets 1 like -
The beauty of treating a SAB as a view backing buffer means you can ignore data update lifecycle so the view renders from it at 60FPS
1 reply 1 retweet 5 likes -
Yeah stick with raf as your in-page loop, but have the incrementing done by two threads with atomics.
2 replies 0 retweets 1 like -
(I expect performance to be worse, but curious about how much)
2 replies 0 retweets 0 likes -
(I'd happily do it if you put what you have so far somewhere I can access it)
1 reply 0 retweets 0 likes -
(Is this how we talk now?)
1 reply 0 retweets 3 likes -
(yes)
1 reply 0 retweets 1 like -
(uh oh
2 replies 0 retweets 2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.