buybackoff / MMDataStructures

Memory mapped data structures: dictionary, array and list

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

As of April 2016, this project is not maintained anymore. Much faster versions of cross-process synchronized and persistent data structures will soon appear in the Spreads library.

MMDataStructures

Adapted and improved from https://mmf.codeplex.com/. Replaced all serializers by BinaryFormatter with easy option to replace it by setting a static Config.Serializer property. Structs deserialization must support zero bytes array - wrap any existing serializer as shown here.

Use this only for IPC with in-memory or temporary files (files will be deleted when last process accessing them exits) or if you are on Mono and need quick and simple solution. For Windows, use ESENT. See details in a comment..

The MMDataStructures library can be installed from NuGet:
PM> Install-Package MMDataStructures

Licensed as Apache 2.0.

About

Memory mapped data structures: dictionary, array and list

License:Other


Languages

Language:C# 96.6%Language:F# 3.3%Language:Batchfile 0.0%