-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize combining light in
ZoneView.getVisibleArea()
.
- Remove the use of a granular lock when populating `allLightPathMap`. - Avoid converting `Path2D` back to `Area` until after all lights have been combined. - Create `allLightAreaMap` in the swing worker and return it from there. This avoids any future unintended concurrent interactions with `allLightAreaMap`, and makes it clear that it is only used in `ZoneView.getVisibleArea()`.
- Loading branch information
1 parent
dfb1346
commit c33deaa
Showing
1 changed file
with
39 additions
and
28 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