Lewin Bormann

Results 129 comments of Lewin Bormann

...I suppose the `Send + 'static` restriction is the main problem (at least it was when playing around with it). Not one that's solved easily, though.

I see the issue, and part of it might already be fixed with this: At least the specific demo problem with i128/`switch_endianness()`: ```diff diff --git a/src/fixed.rs b/src/fixed.rs index 8866c9e..76afae1 100644...

Good idea! Would you mind creating a PR?

Would you be able to provide a backtrace, or comment on how you make use of leveldb?

Well as you say, it isn't thread-safe and not made to be. That's why it isn't `Sync`. Do you mean to ask how it could be made thread-safe?

As my cache isn't concurrent, it is built quite differently from yours, so right away I can't give good advice I'm afraid.

> ```rust > if self.blocksize - self.blk_off < HEADER_SIZE { > ``` would you mind trying out what happens if you change this to `self.blocksize < HEADER_SIZE + self.blk_off`? This...

> There is a bug when recovering the manifest, in version_set.rs line ~693. The descriptor_log should be opened using new_with_off to recover the offset. This is a great find, would...

> It says the process could not access thefile, because another process has locked a part of this file. Could you provide some more details, a stack trace, or something....