Skip to content

Commit 62be182

Browse files
committed
benchmarks: add a comment and use more meaningful numbers
1 parent cc2dc79 commit 62be182

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

benchmark/single-source/SortLargeExistentials.swift

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ protocol LetterKind {
2323
struct Letter : LetterKind {
2424
let value: String
2525

26-
var a: Int = 27
27-
var b: Int = 27
28-
var c: Int = 27
29-
var d: Int = 27
26+
// Make this struct a large struct which does not fit into the 3-word
27+
// existential inline buffer. Also provide an answer to ...
28+
var a: Int = 42
29+
var b: Int = 42
30+
var c: Int = 42
31+
var d: Int = 42
3032

3133
init(_ value: String) {
3234
self.value = value

0 commit comments

Comments
 (0)