Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use referenceEq in traverseExp() so that we do not construct new ex…
…pressions identical to the input - Theoretically, this should reduce the load on the GC (since less records are constructed), but due to RML oddities, we will create new garbage regardless. This new garbage will have 0 references and resides in the young region, which leads to it being removed early. Memory consumption should decrease for larger models. git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@8806 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
- Loading branch information
Showing
1 changed file
with
71 additions
and
42 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