Apr. 7th, 2005

coding:oops

Apr. 7th, 2005 08:08 pm
tn3270: (Default)
Have a large chunk of fairly CPU intensive code working and am working improve its performance. I did a project that was a performance improvement. However, I made a teeny mistake, and caused a lot of code to not be called when it should have. This made my performance improvement seem about twice as good as it really was. The program runs much quicker if it skips a lot of processing, sadly the result was not correct.

A few years ago, I remember this type of thing happening to someone I worked with. He made modest change and all of a sudden the program ran 10 times as fast, everyone was very pleased since we regularly got beat up for the slowness of the program. Turns out, he accidentally commented out the call to the function that did all of the work.

I got a little taste of this today. Oh well.

Profile

tn3270: (Default)
tn3270

January 2016

S M T W T F S
     12
3456 789
10111213141516
17181920212223
24252627282930
31      

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 23rd, 2026 09:15 pm
Powered by Dreamwidth Studios