Automatic Serialization

With a bit of configuration you can configure the index to serialize to a backing file whenever changes are made to it.

First you will need to make sure that the index is deserialized before use, as demonstrated here, and add an index modification hook to serialize the index whenever a new snapshot is created.

Last modified February 6, 2022: Fixed broken links (d98d0b3)