1 रिपॉजिटरी
Memory-efficient reading and writing of binary data that avoids intermediate buffering and allocations.
Distinguishing note: None of the candidates refer to low-level memory-efficient IO primitives like Span or Memory in the context of serialization.
Explore 1 awesome GitHub repository matching operating systems & systems programming · Zero-Allocation Binary IO. Refine with filters or upvote what's useful.
MemoryPack C# और Unity के लिए एक उच्च-प्रदर्शन बाइनरी सीरियलाइज़ेशन लाइब्रेरी है। यह मेमोरी आवंटन और एन्कोडिंग ओवरहेड को कम करने के लिए डिज़ाइन किया गया एक ज़ीरो-एलोकेशन डेटा पाइपलाइन और स्कीमा-इवोल्यूशन फ्रेमवर्क प्रदान करता है। प्रोजेक्ट रनटाइम रिफ्लेक्शन से बचने के लिए कंपाइल-टाइम सोर्स जनरेटर्स का उपयोग करता है और अधिकतम थ्रूपुट के लिए ज़ीरो-एन्कोडिंग बाइनरी फॉर्मेट लागू करता है। यह एक ज़ीरो-एलोकेशन दृष्टिकोण के माध्यम से खुद को अलग करता है जो कचरा संग्रहण (garbage collection) दबाव को कम करने के लिए ऑब्जेक्ट इंस्टेंस का पुन: उपयोग करता है और अनमैनेज्ड स्ट्रक्ट्स के मेमोरी लेआउट को सीधे बाइनरी स्ट्रीम में कॉपी करता है। लाइब्रेरी बैकवर्ड कम्पैटिबिलिटी के लिए बाइनरी स्कीमा वर्ज़निंग को कवर करती है और बड़े डेटासेट के लिए एसिंक्रोनस कलेक्शन स्ट्रीमिंग का समर्थन करती है। इसमें C# और TypeScript के बीच डेटा एक्सचेंज के लिए डेटा संरचनाओं को सिंक्रोनाइज़ करने के लिए एक TypeScript टाइप जनरेटर शामिल है। अतिरिक्त क्षमताओं में पेलोड कम्प्रेशन, कस्टम फ़ॉर्मेटर इम्प्लीमेंटेशन और सीरियलाइज़ेशन कॉलबैक्स शामिल हैं।
Implements a memory-efficient binary IO pipeline that minimizes allocations during serialization and deserialization.