Allocgate #10052
Labels
breaking
Implementing this issue could cause existing code to no longer compile or have different behavior.
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
optimization
standard library
This issue involves writing Zig code for the standard library.
Milestone
It was noticed in #10037 that LLVM is not able to properly optimize interfaces that use
@fieldParentPtr
as per @SpexGuy's comment.The
Random
interface was changed in #10045 to instead use a type erased pointer in place of@fieldParentPointer
resulting in significant performance improvement.This issue is to track applying the same change to
Allocator
, however due to this interface being much more widely used it is planned to be merged just before the 0.9.0 release.Soon I will open a draft PR to begin working on this.
The text was updated successfully, but these errors were encountered: