Reputation
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
1 23 46
Newest
 Nice Answer
Impact
~595k people reached

1d
answered How much commenting is better for coding?
1d
awarded  Nice Answer
Apr
15
comment How to deal with misconceptions about “premature optimization is the root of all evil”?
To answer your question, do not argue with people. Arguments are not won. When I run into people like that, I just express my viewpoint and leave it at that. When we need performance, I knuckle down and fix it, and let the results do the talking. If somebody learns from me, great, but I don't expect it. BTW, talking about opinions - Knuth was just expressing his opinion.
Apr
13
comment How to deal with misconceptions about “premature optimization is the root of all evil”?
+1 I've done performance tuning for decades, and I've written extensively on it in stackexchange (a collection of sites that performs a great public service, IMHO). I wouldn't put it exactly the way you have, but your first two sentences capture the heart of it.
Mar
19
comment How do you handle Performance tasks in Agile?
Treat it as a bug that just happened to be discovered at a late stage. (I am not convinced of the "Agile" methodology, so I would say, let its adherents figure out how to fit this into its plumbing.)
Mar
9
awarded  Nice Answer
Mar
3
comment Why are eval-like features considered evil, in contrast to other possibly harmful features?
Two upvotes, and two downvotes. Looks like maybe this hits a nerve.
Mar
2
answered Why are eval-like features considered evil, in contrast to other possibly harmful features?
Feb
27
comment What is the ninja performance gap, why is it so large, and how can we overcome it?
People like to get attention with fancy wording. Performance is a simple thing. It is not really something you get ahead of time by thinking about it, but something you do post-hoc, in multiple stages. You may find that you need better algorithms, or parallelism, or other measures, but the key word is find, not assume.
Feb
14
revised Is denormalising a data structure essentially a code optimisation, to which the normal rules apply?
added 99 characters in body
Feb
12
revised Is denormalising a data structure essentially a code optimisation, to which the normal rules apply?
added 80 characters in body
Feb
11
revised Is denormalising a data structure essentially a code optimisation, to which the normal rules apply?
added 188 characters in body
Feb
11
answered Is denormalising a data structure essentially a code optimisation, to which the normal rules apply?
Feb
8
comment “Fuzzy” parsing in different languages
@svick: The nice thing about a trie is it can cycle back on itself, or if you prefer, the recursive walk procedure can cycle back to the top of the trie as a way of handling more than one word in the string, and it can still handle all kinds of misspellings, such as spaces inserted or deleted.
Feb
8
revised “Fuzzy” parsing in different languages
edited body
Feb
8
awarded  programming-languages
Feb
8
answered “Fuzzy” parsing in different languages
Feb
6
answered Does variable type specification lead to any performance difference?
Jan
16
comment How can I test for performance issues in a specific piece of code?
@Zibbobz: What to do: Run it under a debugger, and in the execution phase where it is sluggish, manually interrupt it and examine the call stack. If you do this a few times, it will show you what the problem is. Problems with that duplicate question: Knowing which routines have the highest execution count does not reveal the problem. See point 6 here. Don't assume it's a matter of narrowing down to class and function. Look instead for what it's doing and why.
Jan
16
comment MVC controller and decoupling explained
@Narek: That's the model-view-controller idea, where you can change the view without having to change the model. There can be many different views of the model, or none, so you don't want the model to depend in any way on the ways in which is viewed. To me, that makes a certain sense, except in a situation where the model structure can change frequently. In that case, it is important to minimize the effort to upgrade the corresponding view structure.