in reply to Is Performance Overrated?

folks saying basically, "I have this thing that works, but there must be a more efficient solution..."

You know, most times they're looking to learn, and not actually trying to make things run faster.

Replies are listed 'Best First'.
Re^2: Is Performance Overrated?
by cog (Parson) on Feb 14, 2006 at 12:55 UTC
    I just realized that I answered without thinking...

    Performance might not be the most important of things all the time, but when it is, it *really* is a pain in the ass!

    And, curiously, in the project I'm currently involved with, performance *is* a must! I have to execute over a thousand operations per second, and no, it's not being easy, and yes, it is important!

    And in this case, yes, anything that can make things faster on my side, *will* be helpful!

    OTOH, it's the first time in three years that I've had performance issues.

      in the project I'm currently involved with, performance *is* a must! I have to execute over a thousand operations per second, and no, it's not being easy, and yes, it is important!
      Is it anything we can help with?
        Thanks for the offer, but it's done :-) I hope...

        I'm now double checking a few things and wrapping things up :-)

Re^2: Is Performance Overrated?
by Anonymous Monk on Feb 15, 2006 at 04:58 UTC
    I generally think 'hey, this does work. but my perl skills in this area are AWFUL. i know that this is using a lot more loops and memory than necessary. and i KNOW that there's a better way to do this, because if every application I use had code like this, my computer just wouldn't run. i need to learn the best, most efficient way to perform this task and take that learning into other functions that i program."
      Beware of thinking that the most efficient solution is the "best" - often, the best solution may not be the most efficient solution possible, but the cleanest, most maintainable, most flexible, etc...