Schrodinger ZHU Yifan

Results 55 issues of Schrodinger ZHU Yifan

> 所谓说 avl 树每次重平衡需要回溯回根节点的纯粹胡扯 I am so glad to see this. Thanks for providing the clean code and clear comparison. However, I am little bit concerned about the argument you...

Basically, I got a same error as https://github.com/monero-project/monero/issues/1304. Maybe `-fPIC` flag is needed https://github.com/briansmith/ring/blob/08fcf4a5b9bfa7e06863e586cef8e4f137604439/build.rs#L518

Signed-off-by: SchrodingerZhu Just to show the portability of snmalloc to `loongarch`. https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN ``` $/home/schrodinger/Documents/qemu/build/qemu-loongarch64 -L $LA_PATH/../target/usr/ perf-singlethread-1 Count: 32768, Size: 16, ZeroMem: 0, Write: 0: 25995159 ns Count: 32768, Size:...

I think there are two points to improve in current cmpxchg support for 16 byte data structures: - consider arm lse - consider using `__sync_bool_compare_and_swap` to force gcc emit inlined...

The old problem was addressed by introducing new way to register clean-up callbacks. However, there are still some works to do. Signed-off-by: Schrodinger ZHU Yifan

export FFIs to enable snmalloc being used as a separate allocator https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html

This is reported by one of my friends (@misakikasumi). In his application, he used snmalloc to manage 16bit 1080P frame buffers, which takes 1/4 of the medium sized slab. Based...

Hi, I am implementing snmalloc support for an analytical database engine now. Everything works fine and the performance is really cool. But there is a problem on creating proper statistics...

In debug mode, I see some other errors: - [x] `ctz` failed to return the correct result. - [x] `mingw gcc` has no `-rdynamic` - [ ] `func-first-operation` failed, showing...

Client language like rust may want to provide fallible memory allocation APIs. https://rust-lang.github.io/rfcs/2116-alloc-me-maybe.html It is of course not a required feature. The std library states that `Alloc` implementation is allowed...