Hello Mahmoud,
I notice this fact by observing the difference in performance between older and new Ring (say between 1.14 (and maybe 1.17), and 1.9 and later:
When a code contains two function calls, for example, the sum of performance measured to each call apart is lesser than the performance of the hole code.
Here is one of dozens of examples that illustrate this in SoftazaLib:
While the first call costs 0.04s and the second one costs 0.14 seconds, the total execution time is 0.14s and not 0.18s.
Of course, this is an excellent thing! and more gains are observed when working on large strings.
My question is whether this is a literal side effect or something you planned for, internally, when working on the performance goal in Ring 1.19 and + ?
All the best,
Mansour