Changelog

leanprover/lean4 · · 1 commit

Lean switches to faster refcount cleanup

A small performance tweak replaces a heavier object destructor with a more precise free path in refcount teardown.

Faster refcount cleanup in dec_ref_known (hargoniX8391b96)

lean_dec_ref_known now calls lean_free_object instead of lean_del_object when dropping a constructor with known children. This is a targeted performance improvement in the runtime’s reference-counting path, shaving overhead from object teardown.

Other misc changes

  • None