Skip to content

Commit 946d60c

Browse files
committed
Fix README.md
1 parent ded14fc commit 946d60c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Go Heap
22

33
This is a simple implementation of a heap data structure using Go and its generics.
4-
Not intend for production.
4+
Not intended for production.
55

66
## Usage
77

@@ -54,12 +54,12 @@ var persons = []Person{
5454
},
5555
{
5656
age: 12,
57-
name: "Cris",
57+
name: "Chris",
5858
phone: "555-2121",
5959
},
6060
{
6161
age: 42,
62-
name: "Rochele",
62+
name: "Rochelle",
6363
phone: "555-4421",
6464
},
6565
}
@@ -70,13 +70,15 @@ heap.Insert(Person{age: 13, name: "Vicent", phone: "555-4211"})
7070
person, _ := heap.Remove()
7171
```
7272

73+
[Reference API](https://otaviog.github.io/goheap/).
74+
7375
# Benchmarks
7476

7577
Some benchmarks for the sake of completeness.
7678

7779
## Integer sorting
7880

79-
For sorting integers, GoHeap's `Heapsort` with recursion had poor results when comparing with `sort.Ints` from Go's standard library:
81+
For sorting integers, GoHeap's `Heapsort` with recursion had poor results when compared with `sort.Ints` from Go's standard library:
8082

8183
Next are the results for the version v1.0 with recursion:
8284

0 commit comments

Comments
 (0)