Skip to content

Commit 51dc7f8

Browse files
committed
Spell check and tweaks. [doc]
1 parent 5b25870 commit 51dc7f8

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

HISTORY.rdoc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,20 @@
33
== 2.0.0 / 2011-10-29
44

55
This is a complete rewrite to simplify the design and use more
6-
of Ruby's internal methods. Overall performance should be markedly
7-
improved. Note that the interal array that stores the queue is now
8-
in reverse order from the previous version. If using #to_a be aware
9-
that the priority order is reversed. This release also swithes
10-
the library to distribution under the BSD-2-Clause license.
6+
of Ruby's internal methods. Overall performance should be markedly
7+
improved. A few method names have changed to be more consistent with
8+
Ruby's other data structure. Note that the internal heap is now in reverse
9+
order from the previous version. If using #to_a be aware that the priority
10+
order will be reversed. This release also switches the library to
11+
distribution under the BSD-2-Clause license.
1112

1213
Changes:
1314

1415
* Rewrite library.
1516
* Modernize build configuration.
1617
* Switch to BSD-2-Clause license.
1718

19+
1820
== 1.0.0 / 2009-07-05
1921

2022
This is the initial standalone release of PQueue, spun-off from the

README.rdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ comparison block given at instantiation time. Also, retrieving an element
1717
from the queue will always return the one with the highest priority
1818
(see #pop and #top).
1919

20-
The default is to compare the elements in repect to their #<=> method.
20+
The default is to compare the elements in respect to their #<=> method.
2121
For example, Numeric elements with higher values will have higher
2222
priorities.
2323

2424
This library is a rewrite of the original PQueue.rb by K. Kodama and
2525
Heap.rb by Ronald Butler. The two libraries were later merged
2626
and generally improved by Olivier Renaud. Then the whole library
27-
rewritten by Trans using the orginal as a functional reference.
27+
rewritten by Trans using the original as a functional reference.
2828

2929

3030
== SYNOPSIS
@@ -36,7 +36,7 @@ rewritten by Trans using the orginal as a functional reference.
3636
pq.pop #=> 3
3737

3838

39-
== ACKNOWLEDGEMENT
39+
== ACKNOWLEDGMENTS
4040

4141
Although the library has been completely rewritten since, we still would
4242
like to acknowledge the efforts of the original PQueue authors and

0 commit comments

Comments
 (0)