Click here to Skip to main content
15,887,812 members

Survey Results

What optimisations do you consider when you code?

Survey period: 1 Jul 2013 to 8 Jul 2013

In general, when writing code, which of the following optimisations do you always think about when writing code? (even if you reject them as unnecessary for a certain situation)

OptionVotes% 
Memory use52764.11
Speed of execution69684.67
Final binary size8610.46
Resource use (eg graphics objects, handles etc)28734.91
Network traffic31738.56
Power465.60
None404.87
Respondents were allowed to choose more than one answer; totals may not add up to 100%

View optional text answers (34 answers)


 
GeneralSpeed of execution Pin
SOHAM_GANDHI4-Feb-14 22:39
SOHAM_GANDHI4-Feb-14 22:39 
GeneralSpeed of exexution Pin
Siddhesh Patankar8-Jul-13 18:17
Siddhesh Patankar8-Jul-13 18:17 
GeneralRe: Speed of exexution Pin
Amir Mohammad Nasrollahi26-Jul-13 6:39
professionalAmir Mohammad Nasrollahi26-Jul-13 6:39 
GeneralAge vs Answers Pin
Keia4-Jul-13 22:28
professionalKeia4-Jul-13 22:28 
GeneralRe: Age vs Answers Pin
CHill605-Jul-13 8:02
mveCHill605-Jul-13 8:02 
GeneralRe: Age vs Answers Pin
Keia7-Jul-13 20:20
professionalKeia7-Jul-13 20:20 
Generalreadability and documentation Pin
Giuseppe Tollini4-Jul-13 9:10
Giuseppe Tollini4-Jul-13 9:10 
GeneralMemory Use... Pin
Marco Bertschi4-Jul-13 5:49
protectorMarco Bertschi4-Jul-13 5:49 
GeneralWill I understand this in 6 months time, or is the guy trying to maintain this bigger than me? Pin
CHill602-Jul-13 14:06
mveCHill602-Jul-13 14:06 
GeneralRe: Will I understand this in 6 months time, or is the guy trying to maintain this bigger than me? Pin
Dennis E White2-Jul-13 20:40
professionalDennis E White2-Jul-13 20:40 
GeneralComplaints from End-Users Pin
MacSpudster2-Jul-13 5:58
professionalMacSpudster2-Jul-13 5:58 
GeneralI focus on ASP page bloat Pin
Gregory Gadow2-Jul-13 3:22
Gregory Gadow2-Jul-13 3:22 
GeneralFewer lines of code Pin
Johann van der Smut1-Jul-13 21:51
Johann van der Smut1-Jul-13 21:51 
GeneralRe: Fewer lines of code Pin
Abhishek Nandy1-Jul-13 22:36
professionalAbhishek Nandy1-Jul-13 22:36 
GeneralRe: Fewer lines of code Pin
PIEBALDconsult2-Jul-13 8:13
mvePIEBALDconsult2-Jul-13 8:13 
GeneralRe: Fewer lines of code Pin
Espen Harlinn2-Jul-13 13:19
professionalEspen Harlinn2-Jul-13 13:19 
GeneralRe: Fewer lines of code Pin
CDP18022-Jul-13 19:06
CDP18022-Jul-13 19:06 
GeneralAgreed, but the first word in my post was *generally* Pin
Johann van der Smut4-Jul-13 18:37
Johann van der Smut4-Jul-13 18:37 
GeneralRe: Fewer lines of code Pin
Florian Rappl7-Jul-13 6:03
professionalFlorian Rappl7-Jul-13 6:03 
GeneralRaises Arm (to block the impending whipping...) " Power optimization..?" Pin
ely_bob1-Jul-13 10:21
professionalely_bob1-Jul-13 10:21 
GeneralTime, memory, flexibility and maintenance Pin
Nelek1-Jul-13 8:21
protectorNelek1-Jul-13 8:21 
I am mainly PLC-Programmer so I have to be very carefull with the amount of memory that I use and the speed of the process since both are limited for me in most of the projects.

My actual main project is something I have been from the very beginning. We are handling 35% to 40% more data than another line programed 2 years ago by other guy. With exactly the same hardware my project is consuming 20% less memory and executing around 400% faster than the other line. Main difference between styles is: Object-Intances versus Reference & Pointers.

New generation of PLCs is seeing seing the light since some time ago, they are supposed to be the panacea of place and speed, but since I have any of them in my hands yet...

I try to do my code paying attention to flexibility and reusability as well. And at least but not last, maintenance: clean and easy sources are very important for me as well (see poll of the last week) and not only thinking on other programmers. If I have to modify something of my own code in a year or two I want to be able to understand my current way of thinking and not to stare at my own function as... what the hell was I thinking when I did that? D'Oh! | :doh: D'Oh! | :doh:

But the first and more important thing in business is:
It has to work good and be ready as fast as possible. Closed-Price projects are usually not so generously calculated and... Time is money (even the spare time).
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.

GeneralDisk I/O Pin
Wendelius1-Jul-13 5:23
mentorWendelius1-Jul-13 5:23 
GeneralBad IPC utilization Pin
Cory Shirts1-Jul-13 4:56
Cory Shirts1-Jul-13 4:56 
GeneralWill it blend Pin
Ron Anders1-Jul-13 3:19
Ron Anders1-Jul-13 3:19 
GeneralFlexible architecture and the least amount of code Pin
Marc Clifton1-Jul-13 3:01
mvaMarc Clifton1-Jul-13 3: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.