Hello Laurent_R,

You are absolutely right about the time, it just dose not worth it spending time to make your code executing faster and faster. Unless performance is really something so so critical.

The reason that I am trying to make my code run faster and actually playing around with pack and unpack is that I still learning. I am trying to get the most out of it by testing any possible aspect for future reference. At the same time when I found a good solution I tent to keep it in my database so I can easily recover it when needed and just applied it with small modifications.

The truth is that I still found my self reading and spending hours for something so small and sometimes so stupid that I do not really know if it does worth it. But as I said I am still learning so I tent to believe that I will stop doing that in future.

Again I want to say thank you for your time and effort reading and replying to my question.

Seeking for Perl wisdom...on the process of learning...not there...yet!

In reply to Re^4: How to convert between decimal and binary for negative numbers? by thanos1983
in thread How to convert between decimal and binary for positive/negative numbers? by thanos1983

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.