7becf4e389
why: It is not safe in general to recycle vertex IDs while the `RocksDb` cache has `VertexID` rather than `RootedVertexID` where the former type seems preferable. In some fringe cases one might remove a vertex with key `(root1,vid)` and insert another vertex with key `(root2,vid)` while re-using the vertex ID `vid`. Without knowledge of `root1` and `root2`, the LRU cache will return the same vertex for `(root2,vid)` also for `(root1,vid)`. |
||
---|---|---|
.. | ||
rocks_db | ||
init_common.nim | ||
memory_db.nim | ||
memory_only.nim | ||
persistent.nim | ||
rocks_db.nim |