Changes between Version 1 and Version 2 of Ticket #3844
- Timestamp:
- 2016-04-12T18:54:56Z (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3844 – Description
v1 v2 1 Examples that use constant dataoften result in huge code because OpenModelica instantiates these arrays over and over again. Have for instance a look the `Modelica.Media.Examples.R134a.*` examples.1 Examples 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. 2 2 3 3 Here is a simpler version: … … 47 47 }}} 48 48 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.49 It 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.