Skip to content

Commit a648a11

Browse files
committed
Name change
1 parent e4cdb86 commit a648a11

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
2-
name = "cvm"
3-
version = "0.1.7"
2+
name = "cvmcounter"
3+
version = "0.1.8"
44
edition = "2021"
55

66
[lib]
7-
name = "cvmcount"
7+
name = "cvmcounter"
88
# "cdylib" is necessary to produce a shared library for Python to import from.
99
crate-type = ["cdylib"]
1010

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ Don Knuth has written about the algorithm (he refers to it as **Algorithm D**) a
2323
where _s_ >= 1. Our implementation doesn't use a treap as a buffer; it uses a fast HashSet with the [FxHash](https://docs.rs/fxhash/latest/fxhash/) algorithm: we pay the hash cost when inserting, but search in step **D4** is `O(1)`. The library may switch to a treap implementation eventually.
2424

2525
# Installation
26-
`pip install cvm`
26+
`pip install cvmcounter`
2727

2828
# Usage
2929
```python
30-
from cvmcount import CVM
30+
from cvmcounter import CVM
3131

3232
# values for epsilon, delta, and stream size are described in the docstring.
3333
counter = CVM(0.8, 0.1, 1000)

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ testpaths = [
1212
]
1313

1414
[project]
15-
name = "cvm"
15+
name = "cvmcounter"
1616
description = "Use the CVM algorithm to quickly estimate the number of distinct elements in a stream"
1717
authors = [{ name = "Stephan Hügel", email = "[email protected]" }]
1818
license = {file = "license.txt"}

0 commit comments

Comments
 (0)