Open nsajko opened 8 months ago
This helps ensure the MutableArithmetics contract is respected. Specifically, MA.operate! should always return its first argument.
MA.operate!
Why this instead of performing a stronger check with ===? Because:
===
Is this improving any benchmark or just some double checks ? In any case, please fix the format error and then it should bz good
This helps ensure the MutableArithmetics contract is respected. Specifically,
MA.operate!
should always return its first argument.Why this instead of performing a stronger check with
===
? Because:===
would sooner have a run time cost than a type assertion