Skip to content

Commit 405859e

Browse files
authored
Fix typos (#298)
1 parent fa562ab commit 405859e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/developer-guide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Developer Guide
22

33
This guide is meant as an entry point for developer. It both gives the
4-
philisophy behind the design of this package and some concrete details, such as
4+
philosophy behind the design of this package and some concrete details, such as
55
invariants.
66

77
## Why does this package exist?
@@ -10,7 +10,7 @@ This package exists to offer a different performance/functionality
1010
trade-off vis-a-vis ordered container packages
1111
(e.g. [containers](http://hackage.haskell.org/package/containers)). Hashing-based
1212
data structures tend to be faster than comparison-based ones, at the cost of not
13-
providing operations the rely on the data being ordered.
13+
providing operations that rely on the data being ordered.
1414

1515
This means that this package must be faster than ordered containers, or there
1616
would be no reason for it to exist, given that its functionality is a strict
@@ -27,7 +27,7 @@ support this package and not to provide good general purpose hash functions
2727
(e.g. to use when fingerprinting a text file).
2828

2929
The hash functions used (by default) were picked to make data structures
30-
fast. The actual functions used oftens surprise developers who have learned
30+
fast. The actual functions used often surprise developers who have learned
3131
about hashing during their studies but haven't looked at which functions are
3232
actually used in practice.
3333

@@ -41,7 +41,7 @@ improved locality can be helpful given common input patterns.
4141

4242
Another interesting example of hashing is string hashing, where
4343
[FNV](https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function)
44-
is used. FNV is a decent hash function, but hash worse properties than say
44+
is used. FNV is a decent hash function, but has worse properties than say
4545
[MurmurHash](https://en.wikipedia.org/wiki/MurmurHash). However, it's much
4646
faster. The fact that it's faster is not obvious given the way hash function
4747
performance is often quoted, namely by giving the average throughput on large

0 commit comments

Comments
 (0)