Hi all,
Like most of us, I am a big fan of improving efficiency of code. So much so that I would rather choose fast-executing dirty code over something which might be more elegant or clean, but slower.
Fortunately for all of us, in most cases, the faster and more efficient solutions are also the cleaner and the most elegant ones. I used to be just a dabbler in programming but I am into full-time development now, and just started with C# and web development. I have been reading some good books on these subjects but sadly, books rarely cover the finer aspects. Like say, which one of two codes which do the same thing will run faster. This kind of knowledge comes mostly through experience only. I request all fellow programmers to share any such knowledge here.
Here, I’ll start off with these two blog posts I came across. This is exactly the kind of stuff I am looking for in this post:
P.S: Do let me know if this kind of thing already exists somewhere on this site. I searched but couldn’t find, surprisingly. Also please post any book you know of that covers such things.
P.P.S: If you got to know of something from some blog post or some online source to which we all have access, then it would be better to post the link itself imo.
Similar:
- windows desktop application development, cost comparison for VB.net, VC++, c#.net, and java..? Want to know the cost comparison for creating “desktop application development environment for windows” like licensing Visual Studio and Java evn…? Just an approx estimate...
- StringBuilder related question I have written a program for a stack. (http://stackoverflow.com/questions/2617367?tab=votes#tab-top) For this i needed a StringBuilder to be able to show me what was in the...
- how to code a batch file to automate django web server start Hi, How do i automate starting Django development webserver “python manage.py runserver” in a .bat file in windows . I have python26 and django 1.1.1...
- Is ASP.NET MVC a step backwards in some ways? I ask this not to start anything negative. Rather, after looking at ASP.NET MVC it hit me (duh) that I am not using controls like...
- Fastest way to put contents of Set to a single String with words separated by a whitespace? I have a few Set<String>s and want to transform each of these into a single String where each element of the original Set is separated...
Tags: c code, dabbler, dirty code, efficiency, efficient solutions, fellow programmers, full time, good books, imo, performance analysis, string performance, time development