Changeset 15475


Ignore:
Timestamp:
2013-03-05T11:48:30+01:00 (11 years ago)
Author:
petar
Message:
  • leftover from r15458 (VarTransform bug fix). This might cause performance problems since before the code was broken but now it works, which means that replacement rules will take longer time to create. If this is a serious problem, the VarTransform must be redesigned so that inverse rules are not kept as a list that must be taken the union of when updating rules. Instead a HashTable or avltree could be used. An alternative could be to have two data structures for variable replacements, one that is always kept transitive and one that doesn't have the transitive property.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/Util/VarTransform.mo

    r15462 r15475  
    10721072"
    10731073  input HashTable3.HashTable invHt;
     1074  input DAE.ComponentRef dst;
    10741075  input DAE.ComponentRef src;
    1075   input DAE.ComponentRef dst;
    10761076  output HashTable3.HashTable outInvHt;
    10771077algorithm
    10781078  outInvHt:=
    1079   matchcontinue (invHt,src,dst)
     1079  matchcontinue (invHt,dst,src)
    10801080    local
    10811081      HashTable3.HashTable invHt_1;
Note: See TracChangeset for help on using the changeset viewer.