Commit f030f7a
committed
monobj: cache mlAttackCheck group cursor in wloop
The volatile groupCursor was re-read between the groupCount[] index and the
increment; reading it once into a local wcursor (keeping the volatile store
and the post-store >=8 re-read) matches the target's single-load pattern.
mlAttackCheck 96.493->96.702, unit 97.927->97.940.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 9800057 commit f030f7a
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1790 | 1790 | | |
1791 | 1791 | | |
1792 | 1792 | | |
1793 | | - | |
1794 | | - | |
1795 | | - | |
1796 | | - | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
| 1799 | + | |
| 1800 | + | |
1797 | 1801 | | |
1798 | | - | |
1799 | 1802 | | |
1800 | 1803 | | |
1801 | 1804 | | |
| |||
0 commit comments