https://github.com/llogiq/rangeset
(WIP) a RangeSet implementation
https://github.com/llogiq/rangeset
Last synced: 2 months ago
JSON representation
(WIP) a RangeSet implementation
- Host: GitHub
- URL: https://github.com/llogiq/rangeset
- Owner: llogiq
- Created: 2016-03-07T00:08:45.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-15T10:49:34.000Z (about 9 years ago)
- Last Synced: 2025-01-20T06:15:41.658Z (4 months ago)
- Language: Rust
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a work in progress. In time it should become a real rangeset
implementation.# Goals:
* As little data as possible (e.g. singleton type)
* No unnecessary cloning of values – should work without T: Clone
* Good performance on all relevant operations# License
Licensed under either of
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)at your option.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.# TODOs:
* [_] Write the Cut and Range implementation (misses some methods)
* [X] `impl Ord for Range`
* [_] Write the actual RangeSet
* [_] Tests
* [_] `#[deny(missing_docs)`
* [_] rustfmt
* [_] write a proper README