wavelet-matrix 2.2.5__tar.gz → 2.2.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/.github/workflows/CI.yml +1 -1
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/Cargo.lock +11 -11
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/Cargo.toml +2 -2
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/PKG-INFO +1 -1
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/wavelet_matrix.pyi +8 -6
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/.gitignore +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/LICENSE +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/README.md +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/benchmarks/__init__.py +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/benchmarks/bench_disk_wavelet_matrix.py +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/benchmarks/bench_dynamic_wavelet_matrix.py +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/benchmarks/bench_wavelet_matrix.py +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/docs/index.html +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/docs/wavelet_matrix.html +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/pdoc_templates/error.html.jinja2 +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/pdoc_templates/frame.html.jinja2 +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/pdoc_templates/index.html.jinja2 +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/pdoc_templates/module.html.jinja2 +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/pyproject.toml +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/disk_wavelet_matrix/disk_bit_vector.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/disk_wavelet_matrix/disk_wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/disk_wavelet_matrix/mod.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/dynamic_wavelet_matrix/dynamic_bit_vector.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/dynamic_wavelet_matrix/dynamic_wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/dynamic_wavelet_matrix/mod.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/lib.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/python/dynamic_wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/python/mod.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/python/wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/traits/bit_vector/bit_vector.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/traits/bit_vector/dynamic_bit_vector.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/traits/bit_vector/mod.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/traits/mod.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/traits/utils/bit_select.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/traits/utils/bit_width.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/traits/utils/mod.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/traits/wavelet_matrix/dynamic_wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/traits/wavelet_matrix/mod.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/traits/wavelet_matrix/wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/wavelet_matrix/bit_vector.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/wavelet_matrix/mod.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/wavelet_matrix/wavelet_matrix.rs +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/tests/__init__.py +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/tests/test_disk_wavelet_matrix.py +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/tests/test_dynamic_wavelet_matrix.py +0 -0
- {wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/tests/test_wavelet_matrix.py +0 -0
|
@@ -245,7 +245,7 @@ jobs:
|
|
|
245
245
|
python -m pip install --upgrade pip
|
|
246
246
|
python -m pip install -e .[test]
|
|
247
247
|
- name: Run benchmarks
|
|
248
|
-
run: python -m pytest --benchmark-only --db .pymon
|
|
248
|
+
run: python -m pytest --benchmark-only --benchmark-warmup=off --db .pymon
|
|
249
249
|
- name: Display benchmark results
|
|
250
250
|
run: |
|
|
251
251
|
sqlite3 -header -column .pymon '
|
|
@@ -162,9 +162,9 @@ dependencies = [
|
|
|
162
162
|
|
|
163
163
|
[[package]]
|
|
164
164
|
name = "pyo3"
|
|
165
|
-
version = "0.29.
|
|
165
|
+
version = "0.29.2"
|
|
166
166
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
167
|
-
checksum = "
|
|
167
|
+
checksum = "4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b"
|
|
168
168
|
dependencies = [
|
|
169
169
|
"libc",
|
|
170
170
|
"num-bigint",
|
|
@@ -178,18 +178,18 @@ dependencies = [
|
|
|
178
178
|
|
|
179
179
|
[[package]]
|
|
180
180
|
name = "pyo3-build-config"
|
|
181
|
-
version = "0.29.
|
|
181
|
+
version = "0.29.2"
|
|
182
182
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
183
|
-
checksum = "
|
|
183
|
+
checksum = "f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9"
|
|
184
184
|
dependencies = [
|
|
185
185
|
"target-lexicon",
|
|
186
186
|
]
|
|
187
187
|
|
|
188
188
|
[[package]]
|
|
189
189
|
name = "pyo3-ffi"
|
|
190
|
-
version = "0.29.
|
|
190
|
+
version = "0.29.2"
|
|
191
191
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
192
|
-
checksum = "
|
|
192
|
+
checksum = "e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327"
|
|
193
193
|
dependencies = [
|
|
194
194
|
"libc",
|
|
195
195
|
"pyo3-build-config",
|
|
@@ -197,9 +197,9 @@ dependencies = [
|
|
|
197
197
|
|
|
198
198
|
[[package]]
|
|
199
199
|
name = "pyo3-macros"
|
|
200
|
-
version = "0.29.
|
|
200
|
+
version = "0.29.2"
|
|
201
201
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
202
|
-
checksum = "
|
|
202
|
+
checksum = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c"
|
|
203
203
|
dependencies = [
|
|
204
204
|
"proc-macro2",
|
|
205
205
|
"pyo3-macros-backend",
|
|
@@ -209,9 +209,9 @@ dependencies = [
|
|
|
209
209
|
|
|
210
210
|
[[package]]
|
|
211
211
|
name = "pyo3-macros-backend"
|
|
212
|
-
version = "0.29.
|
|
212
|
+
version = "0.29.2"
|
|
213
213
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
214
|
-
checksum = "
|
|
214
|
+
checksum = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952"
|
|
215
215
|
dependencies = [
|
|
216
216
|
"heck",
|
|
217
217
|
"proc-macro2",
|
|
@@ -305,7 +305,7 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
|
305
305
|
|
|
306
306
|
[[package]]
|
|
307
307
|
name = "wavelet-matrix"
|
|
308
|
-
version = "2.2.
|
|
308
|
+
version = "2.2.6"
|
|
309
309
|
dependencies = [
|
|
310
310
|
"bytemuck",
|
|
311
311
|
"memmap2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "wavelet-matrix"
|
|
3
|
-
version = "2.2.
|
|
3
|
+
version = "2.2.6"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
|
|
@@ -15,6 +15,6 @@ memmap2 = "0.9.11"
|
|
|
15
15
|
num-bigint = "0.4.8"
|
|
16
16
|
num-integer = "0.1.46"
|
|
17
17
|
num-traits = "0.2.19"
|
|
18
|
-
pyo3 = { version = "0.29.
|
|
18
|
+
pyo3 = { version = "0.29.2", features = ["num-bigint"] }
|
|
19
19
|
rayon = "1.12.0"
|
|
20
20
|
tempfile = "3.27.0"
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
1
3
|
from typing import Iterable
|
|
2
4
|
|
|
3
5
|
class WaveletMatrix:
|
|
4
|
-
def __init__(self, data: Iterable[int], on_disk: bool = False) ->
|
|
6
|
+
def __init__(self, data: Iterable[int], on_disk: bool = False) -> WaveletMatrix: ...
|
|
5
7
|
def __getitem__(self, index: int) -> int: ...
|
|
6
8
|
def __len__(self) -> int: ...
|
|
7
9
|
def __str__(self) -> str: ...
|
|
8
10
|
def __repr__(self) -> str: ...
|
|
9
|
-
def __copy__(self) ->
|
|
10
|
-
def __deepcopy__(self, memo) ->
|
|
11
|
+
def __copy__(self) -> WaveletMatrix: ...
|
|
12
|
+
def __deepcopy__(self, memo) -> WaveletMatrix: ...
|
|
11
13
|
def values(self) -> list[int]: ...
|
|
12
14
|
def access(self, index: int) -> int: ...
|
|
13
15
|
def rank(self, value: int, end: int) -> int: ...
|
|
@@ -31,14 +33,14 @@ class WaveletMatrix:
|
|
|
31
33
|
def max_bit(self) -> int: ...
|
|
32
34
|
|
|
33
35
|
class DynamicWaveletMatrix:
|
|
34
|
-
def __init__(self, data: Iterable[int], max_bit: int | None = None) ->
|
|
36
|
+
def __init__(self, data: Iterable[int], max_bit: int | None = None) -> DynamicWaveletMatrix: ...
|
|
35
37
|
def __getitem__(self, index: int) -> int: ...
|
|
36
38
|
def __setitem__(self, index: int, value: int) -> None: ...
|
|
37
39
|
def __len__(self) -> int: ...
|
|
38
40
|
def __str__(self) -> str: ...
|
|
39
41
|
def __repr__(self) -> str: ...
|
|
40
|
-
def __copy__(self) ->
|
|
41
|
-
def __deepcopy__(self, memo) ->
|
|
42
|
+
def __copy__(self) -> DynamicWaveletMatrix: ...
|
|
43
|
+
def __deepcopy__(self, memo) -> DynamicWaveletMatrix: ...
|
|
42
44
|
def values(self) -> list[int]: ...
|
|
43
45
|
def access(self, index: int) -> int: ...
|
|
44
46
|
def rank(self, value: int, end: int) -> int: ...
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/disk_wavelet_matrix/disk_wavelet_matrix.rs
RENAMED
|
File without changes
|
|
File without changes
|
{wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/dynamic_wavelet_matrix/dynamic_bit_vector.rs
RENAMED
|
File without changes
|
{wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/dynamic_wavelet_matrix/dynamic_wavelet_matrix.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wavelet_matrix-2.2.5 → wavelet_matrix-2.2.6}/src/traits/wavelet_matrix/dynamic_wavelet_matrix.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|