summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Entities/SFarm.cs
diff options
context:
space:
mode:
authorJames Finlay <jtfinlay@ualberta.ca>2016-03-07 21:47:52 -0800
committerJames Finlay <jtfinlay@ualberta.ca>2016-03-07 21:47:52 -0800
commit626452834fed7f15e20f2ecc0d4103be69621193 (patch)
tree2e7d130a11429bf98d1b5b5042e64d1912b43aee /StardewModdingAPI/Entities/SFarm.cs
parent38f59b079ec9f24c574d2681a41555038b291b03 (diff)
downloadSMAPI-626452834fed7f15e20f2ecc0d4103be69621193.tar.gz
SMAPI-626452834fed7f15e20f2ecc0d4103be69621193.tar.bz2
SMAPI-626452834fed7f15e20f2ecc0d4103be69621193.zip
Perf improvements
- The original '+=' of the GetHash method was taking ~10% of CPU usage for the game. This should improve performance considerably. - The next largest CPU usage we care about is the 'GetHash' method that gets called very often. Pulling the objects.GetHash() out will reduce hits on the method.
Diffstat (limited to 'StardewModdingAPI/Entities/SFarm.cs')
0 files changed, 0 insertions, 0 deletions