logoalt Hacker News

afdbcreid • today at 6:01 PM • 0 replies • view on HN

And `#[inline] #[cold]` doesn't work: it adds both `inlinehint` and the cold hint to LLVM. Which may cause, for example, the function to be inlined but the branch be marked cold for better machine code organization.