in reply to speeding up parsing, jump to line
If the score-file entries are distinguished by a unique position, you essentially have a (sparse) array $score[$pos]. You'll want to build a temporary database (mapping) for each of the score files.