To speed this up, you could read the first file into a hash, using the words as keys and the numbers as values. Then you could read through the second file and output the multiplication of the hash lookup as the result.
As you haven't shown any code, neither will I.
In reply to Re: Merging two list with simple operation
by Corion
in thread Merging two list with simple operation
by fanticla
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |