joseasoler / Pathfinding-Framework

Pathfinding Framework is a RimWorld mod that enables the creation of custom movement rules for pawns.
MIT License
7 stars 0 forks source link

Cache duplicated AccessTools.Method calls #121

Open joseasoler opened 9 months ago

joseasoler commented 9 months ago

Some of the Harmony patches implemented by PF call AccessTools.Method with the same parameters. Caching these in a central location should help reduce the game loading impact caused by PF.