Skip to content

Commit c68eb10

Browse files
committed
Add ballpark timings
1 parent 2c5b71e commit c68eb10

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

az/17-swift-heap/Package.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ let package = Package(
88
.package(url: "https://github.com/apple/swift-collections", branch: "release/1.1"),
99
],
1010
targets: [
11-
// Targets are the basic building blocks of a package, defining a module or a test suite.
12-
// Targets can depend on other targets in this package and products from dependencies.
1311
.executableTarget(
1412
name: "17",
1513
dependencies: [

az/17-swift-heap/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ with the full input (must be present in your checkout!), and also prints the
1717
time it took:
1818

1919
make time
20+
21+
This version with the proper heap is indeed around 4x faster than 17.swift. On
22+
my machine, this takes around 0.13 s on the full input, while that takes 0.5 s.

0 commit comments

Comments
 (0)