Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Indeed a big shining ray of sunshine ;). Sorry for the defensive behaviour I have asked for assitance with tasks on other similar sites and some people (I am sure you know the sort) were putting it plainly somewhat less then helpfull. Reading it again it does make me sound (justifiably) like a bit of a fool

Thankyou very much for all your assistance. You were quite correct my code was in fact not an infinite loop. However it did contain 2 very long arrays. The first array contained some 25000 elements and the second a rather large 46000 elements.

As a result the script that I wrote took 4 hours to run. Your own which you supplied me with I notice took about 5 seconds!!!! Your Perl kung-fu is mighty indeed Mr Antirice. Thankyou very much for your kind assistance and also the assitance of Aquarium and Skeeve.

There is one more twist in the tail. My coding problem was not resolved before I was sent the correct data file. It is a deeply embarressing thing to admit but I had been given the wrong data to attempt a comparison on. The files that I was given shared no common IDs. I failed on first principles before I had even begun. I trusted the data I was given. When I did recieve the correct file using your code I was able to resolve the problem very rapidly. For this again I thank you.


In reply to Re: To infinity and beyond: Embedding loops by a_mere_kat
in thread To infinity and beyond: Embedding loops by a_mere_kat

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-25 23:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found