Christopher Berner

Results 181 comments of Christopher Berner

Oh, and how does it interface with mmap? redb relies heavily on mmap

Sure. Try this one: https://github.com/cberner/redb/pull/new/custom_types I think it's more up to date. Also, can you tell me more about your use-case for user defined types? I'm trying to decide whether...

Unfortunately, I don't see a way around all the boilerplate, which is why I'm debating whether to actually support custom types or not. It gains you type safety, but I...

Closing due to inactivity, but feel free to re-open if you're still working on this.

Closing due to inactivity, but feel free to re-open if you're still working on this.

Neat. Glad it passed :) The fuzzer in `fuzz/` folder also does some crash testing

notes to self: I looked into implementing this and it's blocked on a couple things at the moment: 1) async in traits: https://github.com/rust-lang/rust/issues/91611 2) Tokio does not support `File::read_exact_at()` or...

The problem with seek and read_seek is that they take `&mut self`. That would require introducing a lock on the File, or cloning the File for every new transaction

@casey I'm finally getting around to this issue. Do you still need this API? I fixed the second issue (https://github.com/cberner/redb/pull/542), and I could add an API like `open_table_untyped()` which takes...

Documenting my proposed API, but am going to close this for now. ``` struct UntypedTable; impl UntypedTable { pub fn stats(&self) -> Result { ... } } impl ReadOnlyTransaction {...