@@ -105,7 +105,7 @@ sorted collections`_ library with `sorted list`_, `sorted dictionary`_, and
105
105
C-extensions. It’s Python 2 and Python 3 compatible. It’s fully-featured. And
106
106
it’s extensively tested with 100% coverage and hours of stress.
107
107
108
- `Performance `_ is a feature. That means graphs. Lot’s of them. There are 189
108
+ `Performance `_ is a feature. That means graphs. Lots of them. There are 189
109
109
performance graphs in total. Let’s look at a few of them together.
110
110
111
111
Here’s the performance of adding a random value to a sorted list. I’m comparing
@@ -127,7 +127,7 @@ improves with scale. You can see it there in blue. It starts in the middle of
127
127
the pack and has a lesser slope than competitors.
128
128
129
129
In short, `Sorted Containers `_ is kind of like a `B-tree `_ implementation. That
130
- means you can configure the the fan-out of nodes in the tree. We call that the
130
+ means you can configure the fan-out of nodes in the tree. We call that the
131
131
load parameter and there are extensive performance graphs of three different
132
132
`load parameters `_.
133
133
@@ -146,11 +146,11 @@ for most scenarios. It’s a very sane default.
146
146
147
147
In addition to comparisons and load-factors, I also `benchmark
148
148
runtimes `_. Here’s CPython 2.7, CPython 3.5 and `PyPy `_ version 5. You can see
149
- where the the just-in-time compiler, the jit-compiler, kicks in. That’ll make
149
+ where the just-in-time compiler, the jit-compiler, kicks in. That’ll make
150
150
`Sorted Containers `_ another ten times faster.
151
151
152
152
Finally, I made a survey in 2015 on `Github `_ as to how people were using
153
- sorted collections. I noticed patterns like priority queues, mutli -sets,
153
+ sorted collections. I noticed patterns like priority queues, multi -sets,
154
154
nearest-neighbor algorithms, etc.
155
155
156
156
This is the priority queue workload which spends 40% of its time adding
0 commit comments