You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pysimlin: published wheels are built without mimalloc #1096
The pysimlin wheels on PyPI are built without mimalloc, so installed pysimlin compiles models more slowly than a local build.
Example
.github/workflows/release.yml runs cargo build --release --target "$RUST_TARGET" -p simlin. src/pysimlin/Makefile and src/pysimlin/scripts/build_wheels.py both add --features mimalloc.
C-LEARN on x86-64 Linux, median of 10, release build without LTO as the wheels are:
system allocator
mimalloc
parse
25.8 ms
22.8 ms
compile
67 ms
56 ms
run
68 ms
68 ms
These are from a native Rust harness, not from an installed wheel.
Why it matters
Everyone who installs from PyPI gets compiles about 20% slower than what we measure.
Compiles repeat on every edit in a notebook.
Fix
Add --features mimalloc to the build line in release.yml.
One line; run the release workflow by hand on a branch (it publishes only on a tag) to check all three platforms link.
Pointers
.github/workflows/release.yml, the "Building libsimlin" step
Activity