The Rust parser in makepad is about as fast as it goes, but you can also just not always reparse all the Rust on mousemove. This cuts the rendertime in half again. Looking at 1.5ms 'wasm' time for browsing the biggest sourcefile now. Worth it? 3ms->1.5?. Not sure anymore.
-
-
Replying to @rikarends
Have you considered an incremental parsing framework like Salsa?
1 reply 0 retweets 1 like -
-
Replying to @rikarends @raphlinus
I'm having trouble accurately measuring if it parser actually has much overhead over recording the token-chunks. It may not even be 3->1.5 but more like 1.8->1.5
1 reply 0 retweets 0 likes
Replying to @rikarends
My question was something of a joke, I already know you're not a fan of complex frameworks :)
8:47 AM - 11 May 2019
0 replies
0 retweets
1 like
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.