Opened 14 years ago

Last modified 9 years ago

#1552 assigned defect

Optimize algorithm sections whenever possible

Reported by: Martin Sjölund Owned by: Willi Braun
Priority: high Milestone: Future
Component: Backend Version:
Keywords: Cc: Martin Sjölund, Lennart Ochel

Description (last modified by Martin Sjölund)

This should generate an alias-equation x = y

model M
  Real x;
  Real y = sqrt(time);
algorithm
  x := y;
end M;

The only thing we really need to think about is that the causality of the algorithm outputs should never change. It does not mean we cannot optimize them (we inline functions after all).

Change History (3)

comment:1 by Martin Sjölund, 10 years ago

Cc: Frenkel TUD added; Jens Frenkel removed
Description: modified (diff)

comment:2 by Martin Sjölund, 10 years ago

Cc: Lennart Ochel added; Frenkel TUD removed
Owner: changed from Martin Sjölund to Willi Braun
Status: newassigned

comment:3 by Dietmar Winkler, 9 years ago

Milestone: Future
Note: See TracTickets for help on using tickets.