Happy Haggert Hurried Hungry Hitch Hiking Hired Henchmen Hivers.... apply within

Happy New Year, all!

Now, it's time to lead the Revolution to glorious victory over...

Wait, hold on...

Crap. The death ray and doom cannon are still suffering BSODs in their guidance software.

Oh well. Revolution delayed until next year while we work the bugs out.
 

log in or register to remove this ad

Happy New Year, all!

Now, it's time to lead the Revolution to glorious victory over...

Wait, hold on...

Crap. The death ray and doom cannon are still suffering BSODs in their guidance software.

Oh well. Revolution delayed until next year while we work the bugs out.
That's why you use Linux for IT software.

I just spent an hour and a half rewriting code. It now does the exact same thing as before, only better.
 



Went for a walk. After a little ways, I realized that I was coding things wrong, but that my current approach had advantages.

A little ways later, I realized I could combine the two approaches to get the best of both with only a little extra code, and have fewer virtual function calls.

Today is a good day. :)
 


Bad code? You need some chicken soup!
For bad code, I like talking to a ducky.

Edit: Dear journal, as someone relatively new to C++, I was not quite aware of just how optimized the compiler could be.

Today, I saw it optimize away eight different string comparisons.

My combined solution is quite a bit less necessary than I thought...Although still faster.

In closing, some things seem easier to do in C++ than in C#.
 
Last edited:



11628875875_1ea89a9817_b.jpg
 

Pets & Sidekicks

Remove ads

Top