Skip to content

Aver 0.37.1

Choose a tag to compare

@jasisz jasisz released this 23 Nov 23:53
· 25 commits to main since this release

Changed

  • Compiled Rust: equality classes cost about half as much per compared pair. A node's class bits come with the tag read that the comparison already does, depth is counted off the comparison's budget, and a sum's tag is read as one byte without a mask. A thread's slot and class ids now split 8/16 bits instead of 4/20, so up to 255 threads get classes (each with 2^16 ids before starting over) instead of 15. On a Lean kernel checker written in Aver, mathlib takes 11.5% fewer instructions at 32 workers and 1.5% fewer at 4 workers; Init 1.8% and std 2.0% fewer. Answers are unchanged.
  • Compiled Rust: a large Int operand of +, -, * or Bits.and / or / xor at its last use is given up to the operation, which writes the result into its digits when nothing else holds it. acc = Bits.xor(acc, x) over megabyte numbers no longer copies acc into a new integer every step. Bits.and with a non-negative one-word operand and Bits.or with a negative one build no heap integer.