Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualsmr

Posted 07 December 2012 - 06:58 PM

I doubt it. If I were random, never. Theoretically this could be reduced by the optimizer if there were no random. The loop could be unrolled, from there it could eliminate looking the function pointers up because they are never changed, but I doubt it would go that far. Maybe if you made the array immutable. I'm no expert on the inner workings of code optimization though.

#1smr

Posted 07 December 2012 - 06:56 PM

I doubt it. If I were random, never. Theoretically this could be reduced by the optimizer if there were no random. The loop could be unrolled, from there it could eliminate looking the function pointers up because they are never changed, but I doubt it would go that far. Maybe if you made the array immutable. I'm no expert on the one workings of code Princeton though.

PARTNERS