DescriptionCache element docs (and add to completions) [#23694].
This does away with the expensive call to `computeDocumentationComment` in favor of cached comments. Notably this makes adding doc content to code completion proposals performant (and so is done here). It should also make `dartdoc` *much* faster for doc generation since there are no more trips to disk to fetch comments for elements (still needed for source though).
For more on the desire for docs in completions see here: https://github.com/dart-lang/sdk/issues/23694
R=brianwilkerson@google.com, scheglov@google.com
Committed: https://github.com/dart-lang/sdk/commit/1f8eddcc2113ed5a0474520455582066a3ce6aaf
Patch Set 1 #
Total comments: 4
Patch Set 2 : review_fix #
Total comments: 6
Patch Set 3 : tweaks #Messages
Total messages: 8 (2 generated)
|