1
Feature requests / sf::Color, making it union
« on: September 19, 2011, 05:14:16 pm »Quote from: "Silvah"
Seriously, how much you'd gain? A thousand cycles in the whole run of the program? That's nothing on modern hardware.
True, it's not a significant gain. But it is fun to play around with things like this. Previous to this thread I had given little thought to data alignment, though I'm not saying I'll always do it in the future.
I think I'll read up on union behaviour a bit, I wont be returning to the thread anymore as I think there is little more to discuss. I appreciate all the feedback I've gotten and wish you all luck with your respective projekts.
Bye.