Skip to content

Commit e4126e4

Browse files
committed
fix typo
1 parent 3a74365 commit e4126e4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

7-tips-and-tricks/1-tips-and-tricks.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ r = string(b)
7979
% go test -bench=. ./examples/concat/
8080
```
8181

82+
_Bonus question_: All four benchmarks got _slower_ from Go 1.10 to Go 1.11 _on this Mac_. Any ideas why?
83+
8284
## Preallocate slices if the length is known
8385

8486
Append is convenient, but wasteful.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ This repository is licensed under the [Creative Commons Attribution-ShareAlike 4
3737
[1]: 1-welcome/1-welcome.md
3838
[2]: 2-benchmarking/benchmarking.md
3939
[3]: 3-profiling/1-profiling.md
40-
[4]: 4-compiler-optimisation/1-compiler-optimisation.md
40+
[4]: 4-compiler-optimisations/1-compiler-optimisation.md
4141
[5]: 5-execution-tracer/1-execution-tracer.md
4242
[6]: 6-memory-management/1-memory-management.md
4343
[7]: 7-tips-and-tricks/1-tips-and-tricks.md

0 commit comments

Comments
 (0)