in reply to Re^7: Words in Words
in thread Words in Words
WOW!
I ran one of the other scripts and it took just under 24 hours to complete and I didn't get the answer I was expecting.
Your script ran in 40 seconds and gave me exactly what I was looking for!
Would you be willing to explain how this works? I get the declaration of the hash, the while loop to load the file (not sure what "undef $words{$word};" does) but the rest is pure magic!
Thank you so much for putting together this solution...I am truely blown away.
I tried to do this using T-SQL when I first encountered the problem but that was taking forever. Then I "tried" to use PERL but had way too many questions to get it to do what I needed. Your solution is awesome!
Thanks again!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^9: Words in Words
by choroba (Cardinal) on Oct 02, 2011 at 20:55 UTC | |
by sarchasm (Acolyte) on Oct 03, 2011 at 00:06 UTC | |
by Anonymous Monk on Oct 03, 2011 at 00:16 UTC | |
by sarchasm (Acolyte) on Oct 03, 2011 at 04:10 UTC |