micro-optimize dump parser

Tiny speedup. Tried various options to speed up extract_links, which
takes 27% of the CPU time: cached RE, different string splitting idioms.
Nothing worked except getting rid of the generator in favor of a list.