When I found out it was wrong of me to find out?

I know this sounds odd, but listen before you say I'm a poor employee..

Its like this, one of other Tech Support guys came in, talking about, and showing off, a quick script he threw together on the fly for a function that was needed pretty badly. I just overheard about it in passing, so my curiosity got the best of me. I executed the command and checked it out. I soon forgot about it and walked away from my desk leaving it running. Later on, my boss came told the rest of us not to mess with the code that Other Tech Support Guy wrote, as he said it was very "breakable". I was kinda insulted, but at the same time, I figured it was for a good reason. I eventually made my way back to my desk, where I had left the script running. So really quick, I decided to check the memory footprint. I was appalled that it was using almost as much memory as the top command!

I almost instantly killed the pid and scrambled to find the code to no avail (due to access restrictions).


So my question is:

  • Do I write a more efficient version, and hand it to the original author (could be considered rude)
  • Toss up the fact that it was using gobs of memory, and hope he takes well (could also be considered rude)
  • Or do I go to my boss and lay it out on the line, even though it will look like I disobeyd a direct order, although it was prior to her telling me not to mess with it..

    What Would You Do?

    -- Can't never could do anything, so give me and inch, I'll make it a mile.


    In reply to Should I tell them something is wrong? by defyance

    Title:
    Use:  <p> text here (a paragraph) </p>
    and:  <code> code here </code>
    to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.