What is the performance of QT Script in comparison with C ++?
-
Hi,
I want to implement some of the functionality with QT Script, but I do not know what will be the performance degradation. My program will call 1000 times not a very complicated user function. What will be the slowdown in comparison with the implementation of this function in C ++? -
Hi @AlekseyB,
sorry, but your question is so vague, that nobody will be able to give you an honest answer.
Everything from "the user will not notice" up to "the program is unusable" is possible.
Example: "sleep(4 seconds)" is a simple user function. Called 1000 times, the execution lasts over an hour.
So the best tip i can give you: benchmark!
-
Hi
It will be slower. QT Script, interepented. c++ is compiled.
Will it be slow ? Depends on what the user function is doing.