Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: Small Hash a Gateway to Large Hash?by LanX (Saint) |
on Feb 18, 2014 at 23:55 UTC ( [id://1075402]=note: print w/replies, xml ) | Need Help?? |
But without profiling this is only shooting in the dark Could it be that you are parsing the files and checking if entries match against the hash? Then trie-optimized regexes could be very performant... (you might need runs with several regexes to avoid buffer overruns, but 10000 short strings should fit) But w/o much info that's again shooting in the dark.
Cheers Rolf ( addicted to the Perl Programming Language)
In Section
Seekers of Perl Wisdom
|
|