Click here to Skip to main content
15,904,348 members

Survey Results

Do you optimise your code?   [Edit]

Survey period: 29 Nov 2004 to 5 Dec 2004

Do you optimise your code for speed, size or resource use? Or do you just let it all hang out?

OptionVotes% 
Yes, all the time27219.22
Yes, whenever I have the time or resources42930.32
Only when it's critical I do so45131.87
Occasionally1319.26
Never: I have no time or resources332.33
Never. What's the point?211.48
Never. I've never learned how.785.51



 
General-O2 Pin
Saleh Dindar4-Dec-04 20:38
Saleh Dindar4-Dec-04 20:38 
GeneralBut the compiler CANNOT optimize everything! (waS: Re: -O2) Pin
James R. Twine5-Dec-04 7:40
James R. Twine5-Dec-04 7:40 
GeneralRe: But the compiler CANNOT optimize everything! (waS: Re: -O2) Pin
Saleh Dindar5-Dec-04 20:52
Saleh Dindar5-Dec-04 20:52 
GeneralOptimise ur Code Now!! Pin
Optimum Speed4-Dec-04 1:16
sussOptimum Speed4-Dec-04 1:16 
GeneralNAAAAAAAAARRRRRRRFFFFFF Pin
wolfibender3-Dec-04 11:25
wolfibender3-Dec-04 11:25 
GeneralRe: NAAAAAAAAARRRRRRRFFFFFF Pin
gaamoa4-Dec-04 9:49
gaamoa4-Dec-04 9:49 
GeneralRe: NAAAAAAAAARRRRRRRFFFFFF Pin
.dan.g.5-Dec-04 12:56
professional.dan.g.5-Dec-04 12:56 
GeneralI can't set my asp.net application on the server Pin
Mahmoud Tahoon3-Dec-04 2:06
Mahmoud Tahoon3-Dec-04 2:06 
GeneralI've seen programming questions in the lounge.... but this is ridiculous! Pin
Luis Alonso Ramos5-Dec-04 11:13
Luis Alonso Ramos5-Dec-04 11:13 
GeneralMoore law is the greatest optimizer Pin
netpaul2-Dec-04 19:15
netpaul2-Dec-04 19:15 
GeneralRe: Moore law is the greatest optimizer Pin
James R. Twine5-Dec-04 7:47
James R. Twine5-Dec-04 7:47 
GeneralMaximize speed! Pin
John R. Shaw2-Dec-04 18:00
John R. Shaw2-Dec-04 18:00 
GeneralRe: Maximize speed! Pin
Michael Dunn4-Dec-04 18:22
sitebuilderMichael Dunn4-Dec-04 18:22 
GeneralIt depends... Pin
J. Dunlap1-Dec-04 16:46
J. Dunlap1-Dec-04 16:46 
GeneralOnly with things the compiler can't help with... Pin
Michael Dunn1-Dec-04 13:23
sitebuilderMichael Dunn1-Dec-04 13:23 
GeneralRe: Only with things the compiler can't help with... Pin
Jeff J1-Dec-04 21:16
Jeff J1-Dec-04 21:16 
GeneralCode optimization is not only a compiler thing... Pin
DiWa3-Dec-04 22:36
DiWa3-Dec-04 22:36 
GeneralQuality Pin
KarstenK30-Nov-04 22:46
mveKarstenK30-Nov-04 22:46 
GeneralCode efficiency and readibility Pin
De Nardis Andrea30-Nov-04 22:03
De Nardis Andrea30-Nov-04 22:03 
I would like to spend some time speculating about this topic. In my first days of coding I was told that a very efficient code is almost unreadable because is very close to the machine assember code. I think today a programmer can find a very good compromise between code efficiency and readibility. With very few, if any, need of ASSEMBLER coding, very efficient C/C++ optimizers, the programmer have to compete with the most important optimizing process: find the better way to do something. Many times I read code that is not efficient because of the algoritm used. In this situation reusing variables, optimizing stack size and reducing memory footprint can do little, and indeed shadows the real problem under a curtain of mistery.Smile | :)
Thanx to all.
GeneralStack Overflow Error! Pin
Hambik30-Nov-04 3:43
Hambik30-Nov-04 3:43 
GeneralRe: Stack Overflow Error! Pin
Jörgen Sigvardsson30-Nov-04 10:56
Jörgen Sigvardsson30-Nov-04 10:56 
GeneralRe: Stack Overflow Error! Pin
Hambik30-Nov-04 23:49
Hambik30-Nov-04 23:49 
GeneralRe: Stack Overflow Error! Pin
avtar30-Nov-04 18:55
avtar30-Nov-04 18:55 
GeneralRe: Stack Overflow Error! Pin
Hambik30-Nov-04 23:47
Hambik30-Nov-04 23:47 
GeneralRe: Stack Overflow Error! Pin
HammerBlade1-Dec-04 1:32
HammerBlade1-Dec-04 1:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.