Skip to content

Commit 1195737

Browse files
authored
Merge pull request #658 from eulerkochy/ordered_robindict
OrderedRobinDict
2 parents 71585bb + d0024b7 commit 1195737

File tree

8 files changed

+896
-7
lines changed

8 files changed

+896
-7
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 & 0 deletions
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

@@ -94,6 +95,7 @@ module DataStructures
9495
include("tokens2.jl")
9596
include("container_loops.jl")
9697
include("robin_dict.jl")
98+
include("ordered_robin_dict.jl")
9799
export
98100
CircularBuffer,
99101
capacity,

0 commit comments

Comments
 (0)