forked from ShadowTheAge/yafc
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UI/Solve performance fix for large tables. (#287)
VS diagnostics reported a lot of CPU time was spent in this `.Any` call, which happened because `!row.hierarchyEnabled` only short-circuited one of the embedded `.Any` calls. After fixing the parentheses, the solve-time on a 1400-recipe sheet went from significant (~900 ms) to almost unnoticeable (~200 ms) I also updated the style to error if && and || are mixed without parentheses again.
- Loading branch information
Showing
3 changed files
with
4 additions
and
2 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
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
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