Post increment vs pre-increment
-
@Christoph-Hart Do these have any performance differences in HISE Script? I did some tests with Console.start/stop and couldn't detect anything significant.
-
@d-healey why do you think there's a performance discrepancy between the two?
-
@ustk Because there is in C++.
-
@d-healey it can exist a slight difference in certain case scenario but in most case they are identical, at least following this explanation:
https://isocpp.org/blog/2016/08/quick-q-efficiency-of-postincrement-v.s.-preincrement-in-cpp -
@d-healey Also, since Hise script is much slower than C++, I think (and here is only my opinion) that the slight difference if there is, is drowned into the funnels of the interpreter…