2 مستودعات
Techniques for copying primitive arrays directly in memory to maximize serialization throughput.
Distinct from Zero-Copy Memory Mappings: Distinct from Zero-Copy Memory Mappings: focuses on high-speed copying of primitive arrays rather than mapping files to memory.
Explore 2 awesome GitHub repositories matching data & databases · Direct-Memory Struct Copying. Refine with filters or upvote what's useful.
MessagePack-CSharp is a high-performance binary serialization library for .NET applications that converts object graphs into the MessagePack format. It functions as a C# data serialization toolkit and a polymorphic binary encoder capable of handling abstract classes and interfaces using union keys to identify concrete derived types. The library provides a binary format transcoder to transform binary data into human-readable JSON for debugging. It supports ahead-of-time formatter generation to avoid runtime overhead and implements LZ4 binary compression to reduce the size of serialized data.
Provides high-throughput serialization by performing unsafe memory copies of primitive arrays to bypass element-by-element processing.
MemoryPack is a high-performance binary serialization library for C# and Unity. It provides a zero-allocation data pipeline and a schema-evolution framework designed to minimize memory allocations and encoding overhead. The project utilizes compile-time source generators to avoid runtime reflection and implements a zero-encoding binary format for maximum throughput. It distinguishes itself through a zero-allocation approach that reuses object instances to reduce garbage collection pressure and copies the memory layout of unmanaged structs directly to binary streams. The library covers binary
Implements high-speed serialization by copying the memory layout of blittable structs directly to the output stream.