-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removes unnecessary units from the knowledge base (#1427)
The Project.create function were creating a separate unit in order to compute a target from the available image specification. It was also using Toplevel.eval for that, which computes all properties of an object. As a result, we had all expensive unit-based computations triggered twice per each project. An ideal solution would be to get rid of this call, but, as an immediate remediation, we can just use the same compilation unit as for the main program and compute only the target slot.
- Loading branch information
Showing
1 changed file
with
15 additions
and
10 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