Replies: 1 comment 1 reply
-
I don't have a strong opinion. Does it help any other examples much? Does it slow any down? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
mimalloc is faster than glibc on linux, and it is probably also faster than the default allocator on Windows and Mac.
For extreme examples such as
Samples.Sponge4
, the difference can be up to 12%.While on linux we can use
LD_PRELOAD
to override the default memory allocator, I wonder if we should add mimalloc into our code as an optional dependency. This can allow our pypi build to use mimalloc and benefit from the performance improvement.Beta Was this translation helpful? Give feedback.
All reactions