Commit 5acbedb
committed
Bomberland polish: drop redundant per-call deepcopies and dead bombs_returned stat
- Remove copy.deepcopy in call_agent args and _agent_worker; the agent runs in a
separate process (isolation from the process boundary), and make_state already
snapshots agents/units, so the extra copies were pure overhead.
- Remove the bombs_returned stat, which was tracked but never scored or reported
(bomb inventory refund on explosion is unchanged).1 parent ba03805 commit 5acbedb
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
244 | 243 | | |
245 | 244 | | |
246 | 245 | | |
| |||
398 | 397 | | |
399 | 398 | | |
400 | 399 | | |
401 | | - | |
402 | 400 | | |
403 | 401 | | |
404 | 402 | | |
| |||
0 commit comments