▲ | charleslmunger 5 days ago | |||||||
This is really cool! I noticed >The fast path of a pollcheck is just a load-and-branch. A neat technique I've seen used to avoid these branches is documented at https://android-developers.googleblog.com/2023/11/the-secret... under "Implicit suspend checks". | ||||||||
▲ | pizlonator 5 days ago | parent [-] | |||||||
Yeah that’s a common optimization for poll checks. I think most production JVMs do that. I’m very far from doing those kinds of low level optimizations because I have a large pile of very high level and very basic optimizations still left to do! | ||||||||
|