Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2084)

Unified Diff: pkg/analyzer/lib/src/summary/format.dart

Issue 1774253002: Sort strings in the index. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/format.fbs » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/summary/format.dart
diff --git a/pkg/analyzer/lib/src/summary/format.dart b/pkg/analyzer/lib/src/summary/format.dart
index 8bcfbb56951de0ed3db90ce6782fc3c9c3529008..7228a000998be7f66059c24ab65a06be0a3ac39c 100644
--- a/pkg/analyzer/lib/src/summary/format.dart
+++ b/pkg/analyzer/lib/src/summary/format.dart
@@ -1677,7 +1677,9 @@ class PackageIndexBuilder extends Object with _PackageIndexMixin implements idl.
List<String> get strings => _strings ??= <String>[];
/**
- * List of unique element strings used in this [PackageIndex].
+ * List of unique element strings used in this [PackageIndex]. The list is
+ * sorted in ascending order, so that the client can quickly check the
+ * presence of a string in this [PackageIndex].
*/
void set strings(List<String> _value) {
assert(!_finished);
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/format.fbs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698