I wish there was a hot attribute like the opposite of cold.
and also a warm attribute for don't aggressively try to optimize this but also don't try to make this cold.
I wish there was a hot attribute like the opposite of cold.
and also a warm attribute for don't aggressively try to optimize this but also don't try to make this cold.
and before you say hot is unsafe:
#[unsafe(hot)] // rust: okay genius you know better then llvm? you don't but whatever.
There is:
Thanks!
Ive been wishing for this forever!
Can you show how you'd use it? Why doesn't cold work for you?
like:
#[hot] // an llvm hint kinda like cold (id like it for my operating system project where speed is really needed)
fn some_func() {
// do somthing
}