Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Branch Misses

Name: Anonymous 2011-09-26 17:26

How bad do branch misses hurt a programs performance? In C and Java?

for example how big of an impact would :


int shitinanus()
{
    int val = getanus();
    if(val != 0)
        return ANALTONIGHT;
    return ALONETONIGHT;
}


be knowing that val will most likely be 0 99% of the time compared to the below function


int shitinanus()
{
    int val = getanus();
    if(val == 0)
        return ALONETONIGHT;
    return ANALTONIGHT;
}

Name: Anonymous 2011-09-28 3:41

You are the slightly more intellectual equivalent of 'my dad works at Nintendo'. What is this wonderous software you write, and can you answer your own requirements of providing the name, product, and proof that you worked on it?

But I suspect you cannot, because none of your answers actually made sense at any point in the thread. Resorting to ad hominems and spouting inappropriate jargon that has nothing to do with the subject (USE MAKEFILES!) just marks you as either a delusional skiddie or a troll which I am currently feeding.

Please go back to reddit.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List