Conversation
5 tasks
Owner
Author
/review findings
Verdict: ready to merge Findings
Acceptance coverage
Spot-check verification
|
Owner
Author
/review findings
Verdict: ready to merge FindingsNo findings. Clean doc audit. Acceptance coverage
Docs and policy coverage
|
Owner
Author
|
approved -- merging |
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.
Summary
Audit of codebase against
docs/performance.md(4-round review, issue #248).Changes
Current Tunings table - stale file/line references fixed:
COMBAT_BUCKET,CHECK_INTERVAL,HEAL_DRIFT_RADIUS:behavior.rs->systems/decision/mod.rs(correct file after module split)ARCHER_PATROL_WAIT,ENERGY_TIRED_THRESHOLD,ENERGY_WAKE_THRESHOLD:constants.rs->constants/mod.rsProfilerCache refresh:ui/game_hud.rs->ui/left_panel/mod.rsmax_decisions_per_frame: line 110 -> 188max_pathfinds_per_frame: 50 -> 200 (value was wrong;PathfindConfig::max_per_framedefaults to 200, confirmed insettings.rs:797andresources.rs:772)Bucket-Gated Decision System section - stale time_scale text removed:
Optimization Log - 4 missing entries added:
sync_sleeping_systemO(65K) -> O(dirty) (perf: sync_sleeping_system O(65K) -> O(dirty) event-driven #195)iter_instances->for_each_nearbyspatial query (fix: Mason decision uses iter_instances+query.get instead of spatial query #169)damage_systemdebug sampling removal (fix: health/mod.rs debug sampling uses iter_npcs+query.get in damage_system hot path #170)Benchmark header updated:
Anti-Pattern Violations
None found in FixedUpdate hot paths. All
Vec::containsin loops were verified asHashSet::contains(O(1)). The twoiter_npcs()calls inremote.rsare BRP cold paths (exempt per Known Exceptions pattern).Notes
Acceptance Criteria