Speed up parsing

These two changes together shave off about a quarter of time spent parsing the mappings property of a source map.

r? @past