Opened 14 years ago

Closed 12 years ago

#1327 closed task (fixed)

Use DAE.Type instead of DAE.ExpType everywhere

Reported by: Adrian Pop Owned by: Adrian Pop
Priority: low Milestone:
Component: Backend Version:
Keywords: Cc: Adrian Pop, Per Östlund

Description

Right now we have two types: DAE.Type which we translate to DAE.ExpType.
We should *REMOVE* DAE.ExpType as the DAE.Type -> DAE.ExpType translation
consumes a lot of CPU and Memory for nothing.

Change History (3)

comment:1 by Adrian Pop, 14 years ago

The conversion DAE.Type->DAE.ExpType and storage of both these
types in env and every cref is a memory/CPU killer.
A model by Pavol Privitzer fails to flatten (as it would require 30GB of memory)
currently (trunk revision 6492), but flattens fine using ONLY 480MB if DAE.ExpType
from crefs are shared (only one unique exp type in the memory).

Conclusion: We SHOULD REALLY GET RID OF DAE.ExpType and maybe share DAE.Type.

comment:2 by Adrian Pop, 14 years ago

We decided this should not be part of White December as the type memory works rather well for now.

comment:3 by Per Östlund, 12 years ago

Cc: adrpo, adrpo, perost → adrpo, perost
Component: Backend
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.