Liste des Groupes | Revenir à cl tcl |
Am 15.08.24 um 23:48 schrieb aotto1968:1) just the "stupid" Tcl_ObjectGetMetadata to retrieve the pointer associated with an oo-object cost 1/3 of the wrapper performance → the whole header of a tcl OO wrapper cost more than everything else in the wrapper.a short conclusion from Facebook …I won't solve the problem, just to say: It's impossible to help you with this, because you don't explain:
>
"If you analyze the C lib wrapper for MqReadI8, the TCL code adds about 200% wrapper load and the PYTHON code adds about 10% wrapper load." (ref: https://www.facebook.com/share/p/wihmQPR4pBRacLLF/)
>
→ I think TCL has an "performance-problem".
* who wrote this wrapper
* where to find the code
* what benchmark are you running
It could be, e.g. that your benchmark code introduces shimmering and then there's lots of conversion going on. It might be something completely different. Or it might be that Tcl is indeed slower than Python (in most of my comparisons, it was the opposite - unless you offload work to external libraries).
Regards,
Christian
Les messages affichés proviennent d'usenet.