Skip to content

Commit

Permalink
Update tracks/go/exercises/nucleotide-count/mentoring.md
Browse files Browse the repository at this point in the history
Co-authored-by: Isaac Good <[email protected]>
  • Loading branch information
bernot-dev and IsaacG authored Jan 28, 2024
1 parent feede8f commit 67d32e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tracks/go/exercises/nucleotide-count/mentoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

### Reasonable Solutions

Using a map is probably the most idiomatic solution to this problem, especially since the Histogram type basically must be a map. Using a switch is about 4 times faster over the provided test cases because it does not require hashing.
Using a map is probably the most idiomatic solution to this problem, especially since the Histogram type basically must be a map.
Using a switch is about four times faster over the provided test cases because it does not require hashing.

#### Map Example
```Go
Expand Down

0 comments on commit 67d32e6

Please sign in to comment.