Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

dlmalloc is way too big #25

@fitzgen

Description

@fitzgen

Together, dlmalloc and alloc clock in at 10,126 bytes, or 50.98% the total Code section size in my .wasm (pre gzip).

I suspect allocation performance isn't a huge concern for Rust programs compiled into .wasm or else you could write it in JS with better/similar performance.

We could write a simple free-list allocator that focuses on tiny code size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions