|
From: Jim U. <ji...@3e...> - 2004-03-16 01:13:22
|
At 04:09pm on 2004 March 15, Dan Potter did write: > FWIW, I still think GCC produces pretty good code given those compromises, > and except in the most inner loops it probably won't make a bit of > difference. This just shows that it's worth your time to play around with > inner loops a bit. I agree, I think GCC is generally pretty awesome (it lets us write code for the Dreamcast after all :). It pays to keep in mind that sometimes doing non-intuitive things will give an unexpected speed boost, and that things that shouldn't hurt you can slow you down. And test and experiment if speed is critical. But as always, the best speed improvements are usually algorithmic. -- "With a gun in my hand, I don't care how I die, but I'm confident that if they invade us, I will go down fighting," Mr Castro said to tumultuous applause from the audience, which included Andean Indians, landless Brazilians, and Canadian postal workers. -- BBC News ji...@3e... / 0x43340710 / 517B C658 D2CB 260D 3E1F 5ED1 6DB3 FBB9 4334 0710 |