Format benchmarks/.
Change-Id: I1362ada67a02b0ed352612fc29c727e94d8cd254 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/394901 Commit-Queue: Daco Harkes <dacoharkes@google.com> Auto-Submit: Bob Nystrom <rnystrom@google.com> Reviewed-by: Daco Harkes <dacoharkes@google.com>
This commit is contained in:
committed by
Commit Queue
parent
54b3ca9ea0
commit
e4c8b49dcc
@@ -73,14 +73,19 @@ void busyWork() {
|
||||
exercise(UnmodifiableListView<int>(L3));
|
||||
exercise(L1.asMap().values);
|
||||
exercise(L1.toList().asMap().values);
|
||||
final M1 =
|
||||
Map<String, int>.fromIterables(<String>['a', 'b', 'c', 'd', 'e'], L1);
|
||||
final M1 = Map<String, int>.fromIterables(<String>[
|
||||
'a',
|
||||
'b',
|
||||
'c',
|
||||
'd',
|
||||
'e',
|
||||
], L1);
|
||||
final M2 = const <String, int>{
|
||||
'a': 104,
|
||||
'b': 101,
|
||||
'c': 108,
|
||||
'd': 108,
|
||||
'e': 111
|
||||
'e': 111,
|
||||
};
|
||||
exercise(M1.values);
|
||||
exercise(M2.values);
|
||||
|
||||
Reference in New Issue
Block a user