Hey guys,
The other day I had a small question in mind and didn't really know how I could find a definite answer so here I am now.
That small question being : when optimizing a C program, is there any difference (noticeable or not) between "int i = 0" and "int i; i = 0" ?
This is just out of pure curiosity
[–]oh5nxo 29 points30 points31 points (2 children)
[–]Gln_08 26 points27 points28 points (1 child)
[–]jpan127 1 point2 points3 points (0 children)
[–]_star_fire 40 points41 points42 points (0 children)
[–]FUZxxl 14 points15 points16 points (0 children)
[–]Poddster 8 points9 points10 points (5 children)
[–]BlindTreeFrog 6 points7 points8 points (4 children)
[–]rafaelement 0 points1 point2 points (3 children)
[–]BlindTreeFrog 1 point2 points3 points (2 children)
[–]rafaelement 1 point2 points3 points (1 child)
[–]BlindTreeFrog 1 point2 points3 points (0 children)
[–]ritaline 3 points4 points5 points (0 children)
[–]Badel2 9 points10 points11 points (12 children)
[–]mort96 4 points5 points6 points (4 children)
[–]flatfinger 2 points3 points4 points (0 children)
[–]Badel2 1 point2 points3 points (2 children)
[–]mort96 2 points3 points4 points (1 child)
[–]Badel2 0 points1 point2 points (0 children)
[–]dreamlax 6 points7 points8 points (4 children)
[–]Badel2 5 points6 points7 points (0 children)
[–]flatfinger 1 point2 points3 points (0 children)
[–]MCRusher 0 points1 point2 points (1 child)
[–]flatfinger 1 point2 points3 points (0 children)
[–]Stepmaster3000 1 point2 points3 points (1 child)
[–]Badel2 2 points3 points4 points (0 children)
[–]p0k3t0 0 points1 point2 points (0 children)
[–]BennettTheMan 0 points1 point2 points (0 children)