speed, functions and overheads
Mostra commenti meno recenti
Dear all,
I have noticed using functions, nested functions and sub-functions considerably decrease the speed of execution. Is it possible to decrease the overhead incurred when calling a function?
Thanks, Patrick
2 Commenti
Matt J
il 24 Giu 2013
Decrease it from what? What baseline are you comparing it to?
Sean de Wolski
il 24 Giu 2013
What are you doing?
Have you used the profiler to identify bottlenecks in your code that are more than likely killing way more time than function overhead?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Profile and Improve Performance in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!