diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-05-11 21:36:45 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-05-11 21:36:45 -0400 |
commit | bbe5983acdd082d2185a69e2ad37d659a298223d (patch) | |
tree | ad6fe68ebd0da25a832e9fad3832741dee50954f /src/SMAPI/Framework/SModHooks.cs | |
parent | 42a797a01240893e9a8e645253a269087b2d178d (diff) | |
download | SMAPI-bbe5983acdd082d2185a69e2ad37d659a298223d.tar.gz SMAPI-bbe5983acdd082d2185a69e2ad37d659a298223d.tar.bz2 SMAPI-bbe5983acdd082d2185a69e2ad37d659a298223d.zip |
rewrite asset operations to reduce allocations
• When raising AssetRequested, SMAPI now creates a single event args model and reuses it for each handler.
• There's now a single AssetOperationGroup per asset, which tracks the loaders/editors registered by every mod for that asset.
• The operation group's loader/editor lists are now used directly instead of querying them.
Diffstat (limited to 'src/SMAPI/Framework/SModHooks.cs')
0 files changed, 0 insertions, 0 deletions