-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
46 lines (35 loc) · 1.07 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "sampling-tree"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = """
A simple sampling tree implementation for sampling discrete distributions with sparse dynamic updates.
This allows us to sample efficiently from a distribution given the relative importance of each datapoint.
Construction time is O(n), updating is O(log(n)), and sampling is O(log(n)).
The memory footprint is no more than twice the size of `n*std::mem::size_of::<T>()` where `T` is weight datatype.
"""
homepage = "https://github.com/BenJourdan/sampling-tree"
repository = "https://github.com/BenJourdan/sampling-tree"
readme = "README.md"
keywords = ["sampling", "tree", "data-structures", "statistics", "sampling-tree"]
categories = ["data-structures"]
[dependencies]
criterion = { version = "0.5.1", features = ["csv"] }
human-units = "0.2.0"
num = "0.4.3"
rand = "0.8.5"
[[bench]]
name = "simple"
harness = false
[profile.release]
opt-level = 3
lto = true
[profile.bench]
opt-level = 3
lto = true
[profile.test]
opt-level = 3
# lto = true
[dev-dependencies]
indicatif = "0.17.8"