3 ms·
It is the case when you use a default malloc, default memcpy, or default string functions from libc. In ClickHouse, we use jemalloc as a memory allocator and c
by zX41ZdbW 3y ago
It is the case when you use a default malloc, default memcpy, or default string functions from libc.
In ClickHouse, we use jemalloc as a memory allocator and custom memcpy: https://github.com/ClickHouse/ClickHouse/blob/master/base/glibc-compatibility/memcpy/memcpy.h https://github.com/ClickHouse/ClickHouse/blob/master/base/gl...
So, the Musl build does not imply performance degradations. But the usage of Musl is not related to Docker, because ClickHouse is a single self-contained binary anyway, and it is easy to use without Docker.
- MuffinFlavored 3y agoFantasy land: it'd be cool if something like this got upstreamed into stdlib/libc repos as like "fast_memcpy" (I'm guessing it's too not-backwards-compatible enough to make it the default) so large powerful big players don't all have their own "slighty-non-standard" way of doing this?