Repository navigation
Conversation
…close big programs during the compile - mem_need: measured again on a whole compile (i7-9700, 16 GB, clang 23.1.5), each chunk's peak beside its estimate. The 21 chunks with a function of 1 MB or more took twice the old estimate (code_016_2.c 1548 MB for 754, code_018.c 2779 for 2049): they outgrew what the gate kept for them, others started, and the free memory fell to 48 MB. They now get the old estimate x1.4 and 1.6 GB at least (every one at or over its peak); the other chunks 0.1 GB + 45 MB per MB of C + 450 MB per MB of the largest function (350 MB at their peak on average, 501 estimated, 567 before). - The launcher's compile step names the big programs a player can close (browsers, Discord, Steam...) when the memory free is under 4 GB and they hold 1 GB or more: "closing Chrome, Discord and Steam frees 3.6 GB of memory, and the compile goes faster". Not for a small compile (an update of under 20 files). - build.py --only all: every game chunk and hot piece and nothing else, to measure the whole compile. Measured on the same PC, the same lifted code and profile, with a browser, Claude and Discord open: compile 2173 s -> 1877 s (-14%, one run each); all 233 objects the same byte for byte as before but for the COFF time stamp, so the game is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
|
Merged into 0.7.9.3 (https://github.com/pixl27/ProjectReLink/releases/tag/v0.7.9.3), through the hotfix branch rather than this pull request, with your authorship kept in the commit ( |
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.
What
nx2/build.pymem_need: measured again on a whole compile (i7-9700, 16 GB, clang 23.1.5), with each chunk's peak beside its estimate.code_016_2.c1548 MB for 754,code_018.c2779 for 2049). They outgrew what the gate kept for them, other compilers started, and the free memory fell to 48 MB, so Windows paged every compiler. They now get the old estimate ×1.4, and 1.6 GB at least; every one of them is at or over its peak.build.py --only all: every game chunk and hot piece and nothing else, to measure the whole compile.Measured
Same PC, same lifted code and profile, with a browser, Claude and Discord open (about 10 GB of 16), one run each:
All 233 objects are the same byte for byte as before, apart from the COFF time stamp, hot pieces included. The game is unchanged and performance is untouched; only the order and number of compilers changes.
Not verified
🤖 Generated with Claude Code