Zulip Chat Archive

Stream: mathlib4

Topic: Splitting instances may improve performance


Jihoon Hyun (Mar 12 2025 at 05:12):

Context: #22434
By adding instances which can be derived by more complex ones, one might reduce the number of instructions.

Jihoon Hyun (Mar 12 2025 at 05:15):

This is not always the case, however, as shown in #22706 .
The first bench of this pr is when only minimally required instances are defined.
The second bench of this pr is when a bit more higher instances are implemented, which reduced the number of instance definitions compared to the first bench.

Jihoon Hyun (Mar 13 2025 at 15:10):

@Eric Wieser Could you please take a look at the latter pr?


Last updated: May 02 2025 at 03:31 UTC