You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, we still write to disk instead of committing to memory with mmap. We should explicitly not write to disk until the user requests. This is a bit more complicated but turns out disk is indeed a pretty big bottleneck :(
The text was updated successfully, but these errors were encountered:
The key idea here is we want to add an interface that accepts an offset and an BinaryMarshaller, and don't write it to disk but instead store it in a map[uint64]any. Then when the file is closed, write those all to disk. For reads, check if it exists in the cache already and if it does, return the untyped struct. If it doesn't, do the BinaryUnmarshalling
Right now, we still write to disk instead of committing to memory with mmap. We should explicitly not write to disk until the user requests. This is a bit more complicated but turns out disk is indeed a pretty big bottleneck :(
The text was updated successfully, but these errors were encountered: