Skip to content

Changes

Started 12 days ago
Took 40 min on w.r7950.win.1.maas

Summary

  1. Fix caching issue when compiling OMC (#15612) (details)
Commit 4f063496d3d97fbe7f65fb580a44ff2e3aeb9c04 by noreply
Fix caching issue when compiling OMC (#15612)

- Clearing the inst cache in Inst.instantiateClass causes significant
  performance issues when compiling packages that contain a lot of
  functions using extends, such as in NBackend, since it causes the
  whole package to be instantiated over and over. Clear it in
  CevalScript.generateFunctions2 when it's no longer needed instead.
The file was modifiedOMCompiler/Compiler/FrontEnd/Inst.mo (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScript.mo (diff)