splay_tree
==========
[](https://crates.io/crates/splay_tree)
[](https://docs.rs/splay_tree)
[](https://travis-ci.org/sile/splay_tree)
[](https://codecov.io/gh/sile/splay_tree/branch/master)
[](LICENSE)
`splay_tree` provides data structures such as map, set and heap which are based on an in-place top-down splay tree.
> A splay tree is a self-adjusting binary search tree with
> the additional property that recently accessed elements are quick to access again.
> It performs basic operations such as insertion, look-up and removal in O(log n) amortized time. - [Splay tree (Wikipedia)](https://en.wikipedia.org/wiki/Splay_tree)
Documentation
-------------
See [RustDoc Documentation](https://docs.rs/splay_tree/).
The documentation includes some examples.
Installation
------------
Add following lines to your `Cargo.toml`:
```toml
[dependencies]
splay_tree = "0.2"
```
Reference
---------
- https://en.wikipedia.org/wiki/Splay_tree
- http://digital.cs.usu.edu/~allan/DS/Notes/Ch22.pdf
License
-------
This library is released under the MIT License.
See the [LICENSE](LICENSE) file for full license information.