I've had a similar problem, it just was a hash of hashes of arrays (about LDIF-Format) unter Perl5.6 (under Win2k, Linux and Solaris).
I decided to use Perl5.005_03, which gave me a better performance, too
Version: Runtime Memory-Usage
5.0005_03 (AS522) ~20 min ~480 MB
5.61 (AS631) ~90 min ~700 MB
When I've got more time, I'll try to extract a simple script with the essential logic and commit a bug-report... because such a difference (especially in runtime) can't be true...
Best regards,
perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"
PS: somebody has submitted a similar bug with 5.6.1 to activestate with hashes or hashes or the like...
PS2: I asked Microsoft some months ago when there came an Out-Of-Memory-Error while using about 1.2 GB RAM under Win2k, and they told me something about Memory-Fragmentation, and you could prevent it, if you preallocate the RAM (in Perl with: $#list = 10000; or the like).
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.