1 Repo
Data structures optimized for fast instantiation, equality comparison, and minimal memory overhead.
Distinct from Data Structure Definitions: Focuses on the performance characteristics of the containers (instantiation/comparison speed) rather than just the logical definition.
Explore 1 awesome GitHub repository matching data & databases · Optimized Data Containers. Refine with filters or upvote what's useful.
msgspec is a high-performance data modeling, serialization, and schema validation toolkit for Python. It serves as a type-safe serialization framework that integrates schema enforcement and data parsing into a single pass, functioning as both a data serialization library and a schema validation system based on standard Python type annotations. The project distinguishes itself through high-performance structural primitives, including compilation-based routine generation and zero-copy buffer parsing. It optimizes memory usage via garbage collection-aware layouts and reduces processing overhead
Creates structured objects optimized for fast instantiation, equality comparison, and ordering compared to standard classes.