Opened 7 years ago
Closed 2 years ago
#2033 closed enhancement (fixed)
Reduce memory footprint of InstAccesses
Reported by: | Jesper Mattsson | Owned by: | Jesper Mattsson |
---|---|---|---|
Priority: | major | Milestone: | Pending |
Component: | Modelica/FrontEnd | Version: | trunk |
Keywords: | #2031. | Cc: |
Description
It seems like InstAccesses takes a lot of memory. Investigate why and reduce it if possible.
This is a part of #2031.
Change History (15)
comment:1 Changed 7 years ago by
comment:2 Changed 7 years ago by
changeset:3901
Removed some unused lazy attributes and removed an unnecessary circular attribute from InstAccess.
comment:3 Changed 7 years ago by
changeset:3902
Removed lazy from InstAccess.qualifiedAllFArraySubscripts(), lazy is not necessary since the attribute is called few times per instance.
comment:4 Changed 7 years ago by
changeset:3903
Removed lazy from InstAccess.size(), lazy is not necessary since the attribute is called few times per instance.
comment:5 Changed 7 years ago by
changeset:3907
Removed lazy from InstAccess.type(), lazy is not necessary since the attribute is called few times per instance.
comment:6 Changed 7 years ago by
changeset:3909
Removed lazy from FExp.inEquationSection(), FExp.inInitialEquationSection() and FExp.inEquation(), lazy is not necessary since the attribute is called few times per instance.
comment:7 Changed 7 years ago by
changeset:3910
Moved lazy for InstAccess.qualifiedLookupInstClass() to InstClassAccess.qualifiedLookupInstClass(). Also moved lazy for InstAccess.myInstClassDecl() to InstClassAccess.myInstClassDecl(), lazy is not necessary since the attribute is called few times per instance.
comment:8 Changed 7 years ago by
changeset:3931
Removed unnecessary lazy and circular attribute from InstClassAccess.qualifiedLookupInstClass().
It is safe to remove since the method code uses lazy methods with circular guards.
comment:9 Changed 7 years ago by
changeset:3932
Moved lazyness from InstAccess.myInstComponentDecl() to InstComponentAccess.myInstComponentDecl().
comment:10 Changed 7 years ago by
changeset:3933
Removed unnecessary lazy attribute from GlobalAccess.qualifiedName(), Dot.qualifiedName(), InstDot.qualifiedName() and InstGlobalAccess.qualifiedName().
comment:12 Changed 7 years ago by
Milestone: | 1.10.x → 1.11.x |
---|
comment:13 Changed 6 years ago by
Milestone: | 1.11.x → Future |
---|
comment:14 Changed 6 years ago by
Milestone: | Future → Pending |
---|
comment:15 Changed 2 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
changeset:3879