Overview of fastuuid
masterfastuuid is a library providing CPython bindings to Rust's UUID library. It is designed to be a high-performance replacement for Python's built-in uuid module.
Key features:
- API Compatibility: The API is identical to Python's built-in
uuidclass. - Supported Versions: Supports UUID v1, v3, v4, v5, and v7.
- Performance: Significantly faster than the pure-Python implementation and features stricter hexadecimal parsing.
- Concurrency: Provides a
uuid4_bulk()function that releases the Global Interpreter Lock (GIL) during generation, allowing other Python threads to run concurrently.