Further build time reductions - #318
Merged
Merged
Conversation
…ver and over. The generated assembly before and after is identical. Build time drops from 3s to 2.5s, generated LoC from 108k to 85k, generated metadata size from 21MB to 17MB. Fulfills issue 113
…ough the `u8x*` type implementations instead of duplicating the impl for every type. This is a byte-level op anyway. Reduces build time from 2.55s to 2.35s, generated LoC from 85k to 78k, metadata size from 17MB to just under 16MB. Assembly is identical before and after for all x86 targets.
…ands reversed. This correctly handles various float edge cases, including -0 == +0, infinities and NaNs. Add tests explicitly testing NaNs for edge cases. Removes 3,300 lines from the generated code, drops build time from 2.3s to 2.2s.
Shnatsel
force-pushed
the
more-build-time-cuts
branch
from
August 7, 2026 18:13
951baf2 to
03eebdb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on top of #317In total this brings down x86 build time on my machine from 3s to 2.2s, on par with
wide. This method has hit diminishing returns, but with #316 we can beatwideon build time.Best reviewed commit by commit. Each one explains what it does and what the effects are.
The first commit fulfills #113