Click here to Skip to main content
15,915,094 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



 
GeneralEmbedded scandal! Pin
Bamaco229-Nov-04 11:57
Bamaco229-Nov-04 11:57 
GeneralRe: Embedded scandal! Pin
dr.justice29-Nov-04 19:52
dr.justice29-Nov-04 19:52 
GeneralOptimize for readability! Pin
Bamaco229-Nov-04 11:27
Bamaco229-Nov-04 11:27 
GeneralRe: Optimize for readability! Pin
sreejith ss nair29-Nov-04 21:16
sreejith ss nair29-Nov-04 21:16 
GeneralRe: Optimize for readability! Pin
Daniel Petersen3-Dec-04 4:01
Daniel Petersen3-Dec-04 4:01 
GeneralRe: Optimize for readability! Pin
Bamaco23-Dec-04 12:19
Bamaco23-Dec-04 12:19 
GeneralWhen it's needed.... Pin
Shog929-Nov-04 10:40
sitebuilderShog929-Nov-04 10:40 
GeneralRe: Very often required for embedded code. Pin
Jeff J29-Nov-04 6:48
Jeff J29-Nov-04 6:48 
As an embedded programmer, I too find stock functions too inefficient. I have a slew of numeric<->string converters for such systems (and desktops), that are fractions of the size of printf-like funcs, and several hundred percent faster. Sometimes some assembly is required (pun intended), but if I can use a decent optimising compiler, I can get away without it.

I've had bosses that complain I "waste too much time on such things", while I watch other waste weeks trying to figure out why their MCU doesn't respond within the required timeframe! They come to me to fix things, and as such "I'm" not producing fast enough. Go figure.

Cheers

"There's intelligence out there, somewhere..."
GeneralGggggggggggggg... Pin
Kochise30-Nov-04 4:25
Kochise30-Nov-04 4:25 
GeneralNever, because...... Pin
Thomas Latuske29-Nov-04 6:48
Thomas Latuske29-Nov-04 6:48 
GeneralRe: Never, because...... Pin
Jim A. Johnson29-Nov-04 7:08
Jim A. Johnson29-Nov-04 7:08 
GeneralRe: Never, because...... Pin
Thomas Latuske29-Nov-04 7:27
Thomas Latuske29-Nov-04 7:27 
GeneralAll the time, or on a second pass at a minimum... Pin
James R. Twine29-Nov-04 5:01
James R. Twine29-Nov-04 5:01 
GeneralRe: All the time, or on a second pass at a minimum... Pin
patnsnaudy29-Nov-04 8:49
patnsnaudy29-Nov-04 8:49 
GeneralNetwork code... Pin
Navin29-Nov-04 3:04
Navin29-Nov-04 3:04 
GeneralOnly when needed Pin
ed welch29-Nov-04 2:36
ed welch29-Nov-04 2:36 
GeneralRe: Only when needed Pin
Jörgen Sigvardsson30-Nov-04 11:02
Jörgen Sigvardsson30-Nov-04 11:02 
GeneralGood programming style Pin
Roger Allen29-Nov-04 2:26
Roger Allen29-Nov-04 2:26 
GeneralRe: Good programming style Pin
Jim A. Johnson29-Nov-04 7:04
Jim A. Johnson29-Nov-04 7:04 
GeneralRe: Good programming style Pin
Jeff J29-Nov-04 8:06
Jeff J29-Nov-04 8:06 
GeneralRe: Good programming style Pin
Jörgen Sigvardsson30-Nov-04 11:08
Jörgen Sigvardsson30-Nov-04 11:08 
GeneralRe: Good programming style Pin
Nemanja Trifunovic30-Nov-04 12:47
Nemanja Trifunovic30-Nov-04 12:47 
GeneralRe: Good programming style Pin
Jörgen Sigvardsson30-Nov-04 13:07
Jörgen Sigvardsson30-Nov-04 13:07 
GeneralRe: Good programming style Pin
Jeff J30-Nov-04 17:36
Jeff J30-Nov-04 17:36 
GeneralRe: Good programming style Pin
Jeff J30-Nov-04 17:01
Jeff J30-Nov-04 17:01 

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.