Xiangpeng Hao
Xiangpeng Hao
Regard https://github.com/dtolnay/cxx/pull/437, what's your opinion on how to distinguish static member function from non-static ones? For example: ```rust #[cxx::bridge] mod ffi { struct A { a: f32, } extern "Rust"...
The `cxxbridge-cmd` is not ideal: 1. The `cxxbridge-cmd` version might be different from `cxx` version, which can cause problems 2. It's hard to track file changes outside rust project, i.e....
The current range scan is too restrictive on locking yet it's neither sound nor complete.
Many operations implement traverse_to_leaf (with small variations). It's better to extract this logic into a function for better readibility.
It seems that this crate can't allocate memory with more than 2mb alignment. Not sure if this error is from mimalloc itself or somewhere else. To reproduce ```rust use mimalloc::MiMalloc;...
link: https://github.com/graphql-python/graphene/blob/master/UPGRADE-v2.0.md#simpler-resolvers The new resolver has changed, Now, resolver args are passed as keyword arguments to the function, and context argument disappeared in favor of info.context.
Memory sanitizer reports use-of-uninitialized-value on this line: https://github.com/GuillaumeGomez/sysinfo/blob/master/src/linux/utils.rs#L41 Is `buf.st_mode` guaranteed to be initialized? The stack trace: ``` ==2309==WARNING: MemorySanitizer: use-of-uninitialized-value error: address range table at offset 0x3b4a0 has a...
Congee can't be cloned (at least not with https://doc.rust-lang.org/std/clone/trait.Clone.html) due to the linearizability requirement (https://github.com/XiangpengHao/congee/issues/8#issuecomment-1398674003). Consider two threads: ``` T1: ------||----- T2: ----------|insert(0)|---|insert(1000)|------ ``` The cloned tree from T1 may...
The high level API of congee is not locking based. It always returns a copy of the data (not reference), i.e., a snapshot of the value at the moment of...
Current generic key support in Congee is broken: every key type is stored as `usize` and compared as `usize`. The ordering of the original generic key is ignored. ART is...