Open-Source Wikis

/

uv

/

Crates

/

uv-performance-memory-allocator

astral-sh/uv

uv-performance-memory-allocator

crates/uv-performance-memory-allocator/ is a thin wrapper that selects an allocator for the uv binary at compile time.

Purpose

uv ships with mimalloc on most platforms (and falls back to the system allocator where it can't be used). The choice of allocator is a measurable resolver speedup, but the build needs to be platform-aware (musl vs glibc, Windows, macOS). Centralizing the selection here keeps crates/uv/ clean.

See also

  • uv — the consumer.

Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.

uv-performance-memory-allocator – uv wiki | Factory