Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
I needed a cache that could support over 1 MB of data chunks, so Memcache didn't cut it. It only needed to be on the local machine of my software, so I figured that Memory Mapping would be the easiest solution. MemMapCache was born. It's licensed under the Apache license. It's very simple to use. 1) Make sure that MemMapCache.exe is running. 2) Include MemMapCacheLib in your project. 3) Usage: var cache = new MemMapCache(); cache.Connect(); var col = new Dictionary<string, int>(); col.Add("hello", 5); col.Add("hi", 2); cache.Set<Dictionary<string,int>>("myKey", col); var newCol = cache.Get<Dictionary<string,int>>("myKey"); You can follow me on Twitter: http://twitter.com/jprichardson Read my blog on entrepreneurship: http://techneur.com