DescriptionAdd SourceLocationMixin and SourceLocationBase.
This allows FileLocation to avoid extending SourceLocation at all, which
avoids unused line, column, and sourceUrl fields. This produces a speed
improvement of approximately 5% in the YAML parser, and will likely do
more in code that uses locations more heavily relative to spans.
R=rnystrom@google.com
Committed: https://github.com/dart-lang/source_span/commit/0ca6f8032e0f51e806cbb1e540fccd661c82e77a
Patch Set 1 #Patch Set 2 : Add a missing import. #
Total comments: 2
Patch Set 3 : Code review changes #
Messages
Total messages: 5 (0 generated)
|