SourceFile sets up _lineStarts eagerly #36
Labels
contributions-welcome
Contributions welcome to help resolve this (the resolution is expected to be clear from the issue)
type-enhancement
A request for a change that isn't a bug
The body of the
SourceFile.decoded
could be executed lazily. It would increase the performance for cases when serialisation of spans is not necessary. For example, doing successful AST transformations without needing to report errors.source_span/lib/src/file.dart
Lines 73 to 85 in f934308
The text was updated successfully, but these errors were encountered: