On 23/03/11 4:59 AM, %u wrote:
I just thought of a (crazy) idea:
Should D implement a likely keyword for if statements?
Something like:
if likely (x == 2)
{
//do something
}
This would allow the compiler to generate branch prediction code for
the program, allowing the programmer
Peter Alexander wrote:
On 23/03/11 4:59 AM, %u wrote:
I just thought of a (crazy) idea:
Should D implement a likely keyword for if statements?
Something like:
if likely (x == 2)
{
//do something
}
This would allow the compiler to generate branch prediction code for
the program, allowing
I just thought of a (crazy) idea:
Should D implement a likely keyword for if statements?
Something like:
if likely (x == 2)
{
//do something
}
This would allow the compiler to generate branch prediction code for
the program, allowing the programmer to prevent branch predictions.
It's
That will be a special feature available only in DMD Quantum EditionĀ®.