self discrimination? #758
teathinker
started this conversation in
General
Replies: 1 comment 6 replies
-
Best title ever prize goes to you. 😄 |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I found an interesting issue in my performance analysis.
Now I have two instances
I found
a1.delegate1.connect<&aclass::fun>(a2);
is faster than
a1.delegate1.connect<&aclass::fun>(a1);
when run
a1.delegate1(x,y)
Looks to me some optimization is blocked when a class is connected to itself. Any idea why? Thanks.
C++17 with gcc version 9.2.0 (GCC) on kernel 5.10.0
Beta Was this translation helpful? Give feedback.
All reactions