-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
I-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.
Description
The non-jemalloc allocator implementation should branch on the Rust end in order to use malloc
/ realloc
/ free
. It will optimize out in essentially every real-world case, since alignment is rarely dynamic.
Exposing functions without the alignment parameter may also make sense, and having a branch on the Rust side for jemalloc would eliminate a branch for the low alignment case inside the allocator.
Metadata
Metadata
Assignees
Labels
I-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.