4 ms·
I wish I had read this 2 weeks ago. Last night, I got my program working perfectly, but too slow! I quickly did some bench marking and immediately asked mysel
by edw519 17y ago
I wish I had read this 2 weeks ago. Last night, I got my program working perfectly, but too slow! I quickly did some bench marking and immediately asked myself, "Why did I do it that way?" The answer: to get it to handle everything I wanted. I had feature creeped myself without even realizing it.
Back to the drawing board this weekend. Same core functionality, but much smaller footprint, and hopefully, much faster.
- icefox 17y agoWhat about profiling? I hear that will often tell you what part of your program is slow.
- edw519 17y agoI know what part is slow. I still can't believe I did it that way. It wasn't until last night when I put all the pieces together that I actually saw how badly it sucked. I was trying to be "slick" when I should have just done the job. Lesson learned (again).