Hi Jim,
I spent a lot of hours with next bug and I did not figured out...
Please save my mental health! :)
The problem:
Copy this program http://basic256.blogspot.ro/2012/11/isometric-wave.html
Add at the end this extra line: print msec
Run this program. Results on my machine:
1) first run give me 25000 ms (is important to be first run after compile)
2) next runs give me 28000 ms
I hunt this issue and I find that if I remove the line delete(convert); from Interpreter::cleanup() everything is ok and the result is always 25000 ms.
Ok... put back this line.
To make the story short, if I comment the line below, everything is ok, but is a memory leak!
Convert::~Convert() { //delete(isnumeric); }
It does not make any sense!
I am using QT5.7.
Plese help.
Respectfully,
Florin Oprea
Copying your code and adding the "print msec" statement on my PC with 2.0.99.7 with qt 5.15.10 gave me 16886, 16907, and 16873 for three runs from a fresh load of the program. I believe this has been fixed.