Skip to content

Conversation

@fredroy
Copy link
Contributor

@fredroy fredroy commented Dec 8, 2025

Mimalloc is an optimized replacement for memory management (allocation, etc)
https://github.com/microsoft/mimalloc

This is supposed to manage memory allocation better so potentially being faster and using less memory.

In our actual scenes (measured with batch mode), they are always a gain but quite modest, around 1 or 2% speedup. Benchmark on memory usage itself has not been measured.

mimalloc can be install with apt for debian/linux (without a doubt with other distrib/packages manager) and homebrew for macos. No idea for windows, but one can always clone/build/install and set it in the cmake configuration.


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

@fredroy fredroy added this to the v26.06 milestone Dec 8, 2025
@fredroy fredroy added pr: status to review To notify reviewers to review this pull-request pr: new feature Implement a new feature labels Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: new feature Implement a new feature pr: status to review To notify reviewers to review this pull-request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant