Clear only unread texture bytes #30
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-logs
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/linkoovosh--LinkoArts-build!30
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-30"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@avt0m4t48 on GitHub · 2026-12-03 03:55 UTC · original
avt0m4t48:perf-clear-unread-texture-bytes→main· +5 −5 · 1 files · 1 commits · draftChange
A failed large read is retried in 64 KiB and then 4 KiB pieces. Each successful attempt writes its full destination. Clear a leaf only if its final read fails, including failures that wrote a prefix. The initial clear and the clears before retrying a span can be skipped. Every read still runs at its original address and in its original order. Windows read contract
LinkoArts reads both the recorded runs and every gap, where ordinary committed memory may be present. That traversal covers the full destination.
Verification
An independent extracted Linux replay matched the full destination, byte count, digest and ordered read attempts in 16,000 cases per source and CPU setting. It included view maps with gaps, short ranges, page boundaries and failed reads that wrote none, part or all of the requested bytes.
The table shows 15 paired synthetic CPU measurements on the public source (x86-64). Each check times a read and the production digest. The read backend and faults are simulated.
The Windows MSVC standalone GPU tests and integrated workspace test targets type-checked with diagnostics and pure-Rust BLAKE3. The checks used an external allocator metadata declaration. The staged source passed the asset policy. Native page-fault handling and gameplay frame times remain unmeasured.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.