Skip to content

2024-09-15

Compare
Choose a tag to compare
@cardillan cardillan released this 15 Sep 14:53
· 87 commits to main since this release
  • Fixed slightly wrong (too low) cost estimation in the Case Switching optimization.
  • New remark() function, as described here.
  • Slightly improved the Case Switching optimization - instead of expanding the jump table range by one on each side and limiting the input value using the op min and op max instructions, the jump table covers only the existing when branches and values outside the supported range are handled using conditional jumps. This change saves two instructions and potentially speeds up the execution for input values lying outside the jump table.
  • Some of the Mindcode samples used during unit tests were updated to use semicolons in anticipation to planned Mindcode changes.