-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
attempt 2: do not sort float64 slice
- Loading branch information
1 parent
8bd5f43
commit 830e5df
Showing
4 changed files
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
# 1BRC | ||
# 1BRC | ||
|
||
| Attempt Number | Approach | Execution Time | Diff | Commit | | ||
|-----------------|---|---|---|--| | ||
|1| Naive Implementation: Read temperatures into a map of cities. Iterate serially over each key (city) in map to find min, max and average temperatures.| 6:13.15 | || | ||
|2| Evaluate each city in map concurrently using goroutines.|4:32.80|-100.35|| | ||
|3|Remove sorting float64 slices. Calculate min, max and average by iterating.|4:25.59|-7.21|| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.