Commits on Source (25)
-
Aymeric Varasse authoredda1c1fb5
-
Aymeric Varasse authored
Co-authored-by:
Valentin Lorentz <vlorentz@softwareheritage.org>
-
vlorentz authored
For example, swh-datasets needed this hack to get a `Rust` class that will use its local executables: https://gitlab.softwareheritage.org/swh/devel/swh-datasets/-/blob/1aab21ff2ea9bc394210d92bec5d518a08edbd8c/swh/datasets/shell.py with this change, it can be simplified to only adding the `base_rust_executable_dir` to the arguments passed to the constructor.
-
vlorentz authored
-
Martin Kirchgessner authored
-
vlorentz authored
-
Antoine Lambert authored
-
Aymeric Varasse authored
When adding end-to-end tests for graph compression, the new steps were not integrated in the example dataset generation script, making it not capable of generating a compressed example graph.
-
vlorentz authored
mimalloc is already used in swh-provenance, provides performance on par with jemalloc (even better by some reports, though with more memory overhead), and compiles significantly faster than tikv-jemalloctor.
-
vlorentz authored
Graphs compressed with the Rust implementation (2023-09-06 and newer) sort labels by name, while the Java implementation (2022-12-07 and older) sorted them by base64(name).
-
vlorentz authored
This will be used by swh-provenance, as its tables cannot be queried efficiently by Athena, and it's faster to upload all tables in parallel (which we is harder if each table has to have its own Task class).
-
vlorentz authored
-
vlorentz authored
For some reason, datagrams are not always received in order on Jenkins, even though they go through loopback interfaces should provide this guarantee. This commit removes the check for datagram order, as it does not matter much in practice, anyway.
-
vlorentz authored
So we can publish swh-graph on crates.io
d9abf3c2 -
vlorentz authored9596534c
-
vlorentz authored
-
vlorentz authored
In practice this didn't seem to be an issue thanks to the array being large enough that it is unlikely two threads write to the same memory page at the same time (up to cache coherency); but we should not count on that. This is probably slower, as SWHIDs are 22 bytes, and x86_64 can't lock regions over 16 bytes
-
vlorentz authored
-
Stefano Zacchiroli authored
-
vlorentz authored
which are rejected by Sphinx
-
Pierre-Yves David authored
This comes with PyPy 3.11 compatibility.
-
vlorentz authored
-
vlorentz authored
-
vlorentz authored
Showing
- Cargo.lock 76 additions, 24 deletionsCargo.lock
- Cargo.toml 2 additions, 1 deletionCargo.toml
- README.rst 12 additions, 6 deletionsREADME.rst
- conftest.py 0 additions, 1 deletionconftest.py
- pyo3/Cargo.toml 1 addition, 1 deletionpyo3/Cargo.toml
- pyproject.toml 9 additions, 3 deletionspyproject.toml
- requirements-swh-export.txt 1 addition, 0 deletionsrequirements-swh-export.txt
- requirements-swh-test.txt 0 additions, 1 deletionrequirements-swh-test.txt
- requirements-swh.txt 0 additions, 1 deletionrequirements-swh.txt
- rust/Cargo.toml 8 additions, 6 deletionsrust/Cargo.toml
- rust/src/bin/swh-graph-extract.rs 2 additions, 2 deletionsrust/src/bin/swh-graph-extract.rs
- rust/src/compress/maps.rs 16 additions, 11 deletionsrust/src/compress/maps.rs
- rust/src/graph_builder.rs 25 additions, 2 deletionsrust/src/graph_builder.rs
- rust/src/java_compat/mph/gov.rs 1 addition, 1 deletionrust/src/java_compat/mph/gov.rs
- rust/src/labels.rs 1 addition, 1 deletionrust/src/labels.rs
- rust/src/properties/contents.rs 1 addition, 0 deletionsrust/src/properties/contents.rs
- rust/src/properties/label_names.rs 95 additions, 27 deletionsrust/src/properties/label_names.rs
- rust/src/properties/maps.rs 1 addition, 0 deletionsrust/src/properties/maps.rs
- rust/src/properties/mod.rs 5 additions, 0 deletionsrust/src/properties/mod.rs
- rust/src/properties/persons.rs 1 addition, 0 deletionsrust/src/properties/persons.rs
requirements-swh-export.txt
0 → 100644
requirements-swh-test.txt
deleted
100644 → 0