KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
For an open source project I am looking for a good, simple implementation of a Dictionary that is backed by a file. Meaning, if an application crashes or restarts the dictionary will keep its state. I would like it to update the underlying file every time the dictionary is touched. (Add a value or remove a value). A FileWatcher is not required but it could be useful. class PersistentDictionary<T,V> : IDictionary<T,V> { public PersistentDictionary(string filename) { } } Requirements: Open Source, with no dependency on native code (no sqlite) Ideally a very short and simple implementation When setting or clearing a value it should not re-write the entire underlying file, instead it should seek to the position in the file and update the value. Similar Questions Persistent Binary Tree / Hash table in .Net Disk backed dictionary/cache for c# PersistentDictionary<Key,Value>
Tags (comma-separated)
Save Edits
Cancel