in reply to improving the speed
It is probably a bad idea to use the same name for your reference as your global hashes. The code should be:@array_es = split ' ', $hash_es{$string_es}; @array_en = split ' ', $hash_en{$string_en};
I doubt it would make any difference to the performance however.@array_es = split ' ', $hash_es->{$string_es}; @array_en = split ' ', $hash_en->{$string_en};
|
|---|