Open karlovnv opened 2 months ago
Currently the only way way to configure underlying mimalloc is to use env variables, but it's very useful to set them up programatically.
So the idea is to add rust bindings for mi_option_set: https://microsoft.github.io/mimalloc/group__options.html#gaf84921c32375e25754dc2ee6a911fa60
You can just use the sys library to access those options. I don't think it's possible to provide a safe wrapper around those functions since they are:
Currently the only way way to configure underlying mimalloc is to use env variables, but it's very useful to set them up programatically.
So the idea is to add rust bindings for mi_option_set: https://microsoft.github.io/mimalloc/group__options.html#gaf84921c32375e25754dc2ee6a911fa60