We use the same trick in the C++ version of this function. I measured the impact using `lean --new-frontend core.lean` and checking the number of instructions executed reported by Valgrind. Before: 4,891,642,264 After: 4,847,313,330 |
||
|---|---|---|
| .. | ||
| control | ||
| data | ||
| lean | ||
| coe.lean | ||
| core.lean | ||
| default.lean | ||
| env_ext.lean | ||
| function.lean | ||
| init.md | ||
| io.lean | ||
| platform.lean | ||
| util.lean | ||
| wf.lean | ||