9,538 reputation
12042
bio website en.wikipedia.org/wiki/…
location United States
age 70
visits member for 4 years, 3 months
seen yesterday

BS Mechanical Engr.
PhD CS(AI)
CS Prof (4yr)
Numerous consulting jobs.
15 yr at http://www.pharsight.com
Published book on CS & several articles
4 kids, 2 grand
Pilot(student)

P.S. The picture is a Beta-prime distribution. It shows the program speedup factors you can get if you see a problem twice in 2, 3, 4, and 5 samples.


1d
comment When should we work on GC optimiation?
If you want to save time in GC, first save time in new. This illustrates the method I use, which works in any language. You could well find that you are doing news that could be avoided, such as by re-using old objects rather than making new ones.
Nov
29
awarded  Nice Answer
Nov
18
comment Streamlining a method to run faster
Meanwhile, you appear to be in guesswork mode. Just try this.
Nov
11
awarded  Peer Pressure
Nov
10
comment Finding common prefixes for a set of strings
@cruppstahl: Sorry, I understand you want just one level, but I have a hard time understanding why.
Nov
10
comment Finding common prefixes for a set of strings
@cruppstahl: Check my edit above. That should work for any content.
Nov
10
revised Finding common prefixes for a set of strings
added 566 characters in body
Nov
10
answered Finding common prefixes for a set of strings
Nov
3
comment Does code format affect performance?
Learn how to get performance. It's not what you think, and the skill will never leave you.
Sep
26
comment How important is to initialize a variable
It's a case of once-burned-twice-shy. Since I've seen/had bugs caused by uninitialized variables, especially pointers, it's become a habit. For performance, it's usually irrelevant. For memory leaks, not really an issue.
Sep
17
awarded  Yearling
Sep
4
revised Why aren't we building and using parallel processors *meant* for general computation?
edited body
Sep
4
answered Why aren't we building and using parallel processors *meant* for general computation?
Aug
26
revised How to measure algorithm accuracy?
added 8 characters in body
Aug
26
revised How to measure algorithm accuracy?
added 143 characters in body
Aug
26
answered How to measure algorithm accuracy?
Aug
19
awarded  Guru
Aug
19
comment In the days of modern computing, in 'typical business apps' - why does performance matter?
Performance matters if it's poor.
Aug
19
comment How meaningful is the Big-O time complexity of an algorithm?
@Snowman: Right, and when they do mention "profiler", they mention "gprof" in the same breath, which in my opinion is worse than saying nothing. Check the second answer here.
Aug
17
comment How to approach program design with respect to data strucutres and algorimths - is there an equivelant of the OO design process for d.s.'s + algs?
I work with some very competent and professional people. They work well as a team, and their code is nothing if not well-written. However, there are still serious performance problems, as is likely when any software gets large. The problem is, programmers are taught how to find logic bugs, but not speed bugs. They are only taught platitudes, like "profile", or "measure", or quotations from Knuth. The reason is, their teachers have not been responsible for performance of large software. The method I recommend is this.