Skip to content

Commit efd6bf8

Browse files
committed
Merge branch 'avl_tree' of https://github.com/eulerkochy/DataStructures.jl into avl_tree
2 parents d076e5b + fc45368 commit efd6bf8

File tree

8 files changed

+896
-8
lines changed

8 files changed

+896
-8
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "DataStructures"
22
uuid = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
3-
version = "0.18.0"
3+
version = "0.18.1"
44

55
[deps]
66
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This package implements a variety of data structures, including
1414
- Binary Heap
1515
- Mutable Binary Heap
1616
- Ordered Dicts and Sets
17-
- RobinDict (implemented with [Robin Hood Hashing](https://cs.uwaterloo.ca/research/tr/1986/CS-86-14.pdf))
17+
- RobinDict and OrderedRobinDict (implemented with [Robin Hood Hashing](https://cs.uwaterloo.ca/research/tr/1986/CS-86-14.pdf))
1818
- Dictionaries with Defaults
1919
- Trie
2020
- Linked List and Mutable Linked List

docs/src/robin_dict.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ DocTestSetup = :(using DataStructures)
77
`RobinDict` provides a standard dictionary, conforming to the AbstractDict protocol, which uses the Robin Hood hashing algorithm with backward-shift deletion to provide improved average performance over Dict.
88

99
The interface of `RobinDict` replicates that of `Dict`.
10+
This has an ordered version called `OrderedRobinDict`, which replicates the interface of `OrderedDict`.
1011

1112
Examples:
1213

src/DataStructures.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ module DataStructures
5555

5656
export MultiDict, enumerateall
5757
export RobinDict
58+
export OrderedRobinDict, isordered
5859

5960
export DiBitVector
6061

@@ -95,6 +96,7 @@ module DataStructures
9596
include("tokens2.jl")
9697
include("container_loops.jl")
9798
include("robin_dict.jl")
99+
include("ordered_robin_dict.jl")
98100
export
99101
CircularBuffer,
100102
capacity,
@@ -115,5 +117,4 @@ module DataStructures
115117
include("red_black_tree.jl")
116118

117119
include("deprecations.jl")
118-
119120
end

0 commit comments

Comments
 (0)