Skip to content

Changes

Summary

  1. Improve ComponentRef.hash (#12634) (details)
Commit c1e0c3a2781b237a69cec7eaa58e5807b7601469 by noreply
Improve ComponentRef.hash (#12634)

- Add builtin function `stringHashDjb2Continue` to allow continuing the
  computation of a hash.
- Rewrite `ComponentRef.hash` and `ComponentRef.hashStrip` to construct
  the hash directly without converting the component reference to a
  string first.
The file was modified testsuite/simulation/modelica/NBackend/functions/function_annotation_der.mos (diff)
The file was modified testsuite/simulation/modelica/NBackend/basics/partitioning.mos (diff)
The file was modified OMCompiler/Compiler/FrontEnd/MetaModelicaBuiltin.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modified OMCompiler/SimulationRuntime/c/meta/meta_modelica_builtin.c (diff)
The file was modified testsuite/simulation/modelica/NBackend/functions/function_diff.mos (diff)
The file was modified OMCompiler/SimulationRuntime/c/meta/meta_modelica_builtin.h (diff)