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.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.