Fix GC-Ruckler in pickJob und tickVillager #35
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/gc-alloc-picjob"
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?
Fixes #34.
What changed
pickJob: alleObject.values()-Aufrufe einmal oben extrahiert — insbesondere der Forester-Block rief zuvor 4x Object.values() pro Zone-Tile aufJOB_ICONSals Modul-Konstante statt per-Frame-ObjektMath.min(...candidates.map(...))durch einfache Schleife ersetzt