TimingResult
struct TimingResult : Hashable, Comparable
Records the timing of sort methods executed in a tight loop. The results are shown in the UI after animating the results.
-
The name of the sorting algorithm.
Declaration
Swift
let methodName: String -
The amount of seconds the algorithm took to sort the array.
Declaration
Swift
let timing: Double -
Timing as string
Declaration
Swift
var timingAsString: String { get } -
Declaration
Swift
static func < (lhs: TimingResult, rhs: TimingResult) -> Bool
View on GitHub
TimingResult Structure Reference