public ArtInMemoryKeyValueDB(IOffHeapAllocator allocator) { _lastCommited = ARTImplV.CreateEmptyRoot(allocator); _lastCommited.Commit(); }
public CursorTestsBase() { _allocator = new LeakDetectorWrapperAllocator(new HGlobalAllocator()); _root = Is12 ? ARTImpl12.CreateEmptyRoot(_allocator) : ARTImplV.CreateEmptyRoot(_allocator); _cursor = _root.CreateCursor(); }