-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
breakingImplementing this issue could cause existing code to no longer compile or have different behavior.Implementing this issue could cause existing code to no longer compile or have different behavior.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.optimizationstandard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Milestone
Description
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.
ominitay, matu3ba, lithdew, Tetralux, Jarred-Sumner and 5 moreominitay, chadwain, marler8997, squeek502, lithdew and 9 more
Metadata
Metadata
Assignees
Labels
breakingImplementing this issue could cause existing code to no longer compile or have different behavior.Implementing this issue could cause existing code to no longer compile or have different behavior.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.optimizationstandard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.