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 
Nit: extraneous whitespace in the beginning of the line.