Skip to content

Experiment with different mallocs #128

@ViralBShah

Description

@ViralBShah

There are some very fast mallocs out there:

http://www.canonware.com/jemalloc/
http://goog-perftools.sourceforge.net/doc/tcmalloc.html

It would be useful to try out these instead of the system malloc, to see if we get a real performance boost. I do feel that using jemalloc, rather than the system one, may also make performance and memory behaviour more uniform across different OSes.

I see use of malloc in src/, src/flisp, and src/support. It would also be nice to refactor the code so that other malloc implementations can be experimented with easily.

I guess the libraries in external will continue using their own malloc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceMust go fasterspeculativeWhether the change will be implemented is speculative

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions