23282457ad
- Remove unused Map in source map emitter logic. - Buffer output writing for both JS and source maps. Previously we were only buffering the source map writes. During local compilations of a large program combined these amount to a >100MB improvement in memory usage. Change-Id: I633c2f81aa28744e30c6a706bb3927423b38a6e0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/331361 Reviewed-by: Mayank Patke <fishythefish@google.com> Commit-Queue: Nate Biggs <natebiggs@google.com>