-
-
Notifications
You must be signed in to change notification settings - Fork 372
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rather than blocks that poke into the SupplyState object, just put the logic inside of methods inside of SupplyState. This saves making 3 closures for every single message a Supply processes. Further, a bunch of accessor calls give way to attribute accesses, and further improvements are possible as a result of the code being in a righter place.
- Loading branch information
Showing
1 changed file
with
45 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters