We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38db0d7 commit b7ff8cfCopy full SHA for b7ff8cf
benchmark/single-source/SortIntPyramids.swift
@@ -27,7 +27,7 @@ public let SortIntPyramid = [
27
// maximum -||-: 1774
28
// average -||-: 357
29
30
-// pyramid hight
+// pyramid height
31
let pH = 5000
32
let pyramidTemplate: [Int] = (1...pH) + (1...pH).reversed()
33
@@ -44,7 +44,7 @@ let pyramidTemplate: [Int] = (1...pH) + (1...pH).reversed()
44
// maximum -||-: 120
45
// average -||-: 36
46
47
-// adjacent pyramids hight.
+// adjacent pyramids height.
48
let aPH = pH / 2
49
let adjacentPyramidsTemplate: [Int] = (1...aPH) + (1...aPH).reversed()
50
+ (1...aPH) + (1...aPH).reversed()
0 commit comments