You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make everything 4% faster by skipping empty tasks [NFC] (#8571)
When a visitor is the original
```cpp
void visitFoo(Foo* curr) {}`
```
(that is, empty), and the doVisit is also unchanged,
```cpp
static void doVisitFoo(Self* self, Foo* curr) { self->visitFoo(curr); }
```
(that is, it just calls the visitor), then we do not need to queue such
tasks for execution at all.
Measurements show a 2.5%-5% speedup, average 4%.
0 commit comments