Changes between Version 1 and Version 2 of Ticket #3844


Ignore:
Timestamp:
2016-04-12T18:54:56Z (9 years ago)
Author:
Rüdiger Franke
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3844 – Description

    v1 v2  
    1 Examples that use constant data often result in huge code because OpenModelica instantiates these arrays over and over again. Have for instance a look the `Modelica.Media.Examples.R134a.*` examples.
     1Examples that use arrays often result in huge code because OpenModelica instantiates these arrays over and over again. Have for instance a look the `Modelica.Media.Examples.R134a.*` examples.
    22
    33Here is a simpler version:
     
    4747}}}
    4848
    49 It is bad if a temporary array is created when calling the function `f`, instead of just passing `tdata`. It is worse if the whole `data` array is created temporarily again and again whenever the function `f` wants to access one element of it.
     49It is bad if a temporary array is created when calling the function `f`, instead of just passing `pdata`. It is worse if the whole `cdata` array is created temporarily again and again whenever the function `f` wants to access one element of it.