{"repo":"Cysharp/MasterMemory","free":true,"listed":false,"github":"https://github.com/Cysharp/MasterMemory","clone":"git clone https://github.com/Cysharp/MasterMemory.git","description":"Source Generator based Embedded Typed Readonly In-Memory Document Database for .NET and Unity.","language":"C#","stars":1826,"topics":["unity","memory-database","c-sharp"],"license":"MIT","category":"game-templates","readme_excerpt":"MasterMemory === Source Generator based Embedded Typed Readonly In-Memory Document Database for .NET and Unity. 4700 times faster than SQLite and achieves zero allocation per query. Also the DB size is small. When SQLite is 3560kb then MasterMemory is only 222kb. Source Generator automatically generates a typed database structure from schemas (classes), which ensures that all queries are type-safe with full autocompletion support. This ensures both optimal performance and excellent usability. Table of Contents - Concept - Getting Started(.NET) - Getting Started(Unity) - DataTable configuration - MemoryDatabase/RangeView - Extend Table - ImmutableBuilder - Validator - Metadata - Inheritance - Optimization - MasterMemoryGeneratorOptions - v2 - v3 migration - License Concept --- Memory Efficient , Only use underlying data memory and do aggressively string interning. Performance , Similar as dictionary lookup. TypeSafe , 100% Type safe by Source Generator. Fast load speed , MasterMemory save data by MessagePack for C#, a fastest C# serializer so load speed is blazing fast. Flexible Search , Supports multiple key, multiple result, range/closest query. Validator , You can define custom data validation by C#. Metadata , To make custom importer/exporter, get the all database metadata. These features are suitable for master data management(write-once, read-heavy) on embedded application, data analysis, game, etc. MasterMemory has better performance than any other database solutions. P","default_branch":null,"files":null,"tree":[],"storefront":"/r/Cysharp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Cysharp/MasterMemory/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}