Skip to content

Commit 2c10250

Browse files
committed
OrderedRobinDict
1 parent e3c9c56 commit 2c10250

File tree

6 files changed

+906
-2
lines changed

6 files changed

+906
-2
lines changed

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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ DocTestSetup = :(using DataStructures)
66

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

9-
The interface of `RobinDict` replicates that of `Dict`.
9+
The interface of `RobinDict` replicates that of `Dict`. This has an ordered version called `OrderedRobinDict`, which replicates the interface of `OrderedDict`.
1010

1111
Examples:
1212

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

@@ -92,6 +93,7 @@ module DataStructures
9293
include("tokens2.jl")
9394
include("container_loops.jl")
9495
include("robin_dict.jl")
96+
include("ordered_robin_dict.jl")
9597
export
9698
CircularBuffer,
9799
capacity,

0 commit comments

Comments
 (0)