How can I demonstrate for students the usability of likely
and unlikely
compiler hints (__builtin_expect
)?
Can you write an sample code, which will be several times faster with these hints comparing the code without hints.
How can I demonstrate for students the usability of likely
and unlikely
compiler hints (__builtin_expect
)?
Can you write an sample code, which will be several times faster with these hints comparing the code without hints.