Daan

Results 337 comments of Daan

Hi @mqudsi -- the issue is indeed rather old and many improvements have been made over time; not sure if your analysis is right though. It is the case that...

One difference between Linux and Windows is that on Linux `MIMALLOC_ARENA_EAGER_COMMIT` is enabled (as Linux allows overcommit and it is "fine" to use more virtual memory as it's free). That...

Very interesting.. but that does look a bit unexpected -- not sure what is causing the big vsize difference between 1.8.7 and 2.1.7. Is there any way I can reproduce...

Yes, I would like to investigate this -- thanks! (either daan at `microsoft.com` or `effp.org` works, put "mimalloc" in the subject if you can) . It is best if I...

Ah, I am not a CMake expert -- but it looks like `target_compile_options` only adds options and still respects `CMAKE_CXX_FLAGS` ? (see ) Maybe it is cached and you need...

Ah, very cool to try this with Julia! Contact me if you need further help. For language integration, it can help by using `mi_heap_malloc_small` for example for any allocation under...

Thanks! Would there be an easy way to detect musl is targeted such that we can set the `-DMI_LOCAL_DYNAMIC_TLS=ON` flag automatically in cmake ?

> ... May not fit all definitions of "easy" though. :-). Mmm, maybe I'll add a `MI_MUSL=ON` switch to the cmake that will define and add the right definitions to...

Ah, I thought `MI_LOCAL_DYNAMIC_TLS` was always needed but it may well be it only is needed for static builds. Can anyone confirm this? If so, the `MI_LIBC_MUSL` option is good...

Thank you for the feedback; I'm not a cmake expert and don't know what the NAMESPACE does? Would adding this be backward compatible or is there a chance of breaking...