I have a program which has a very large function (plus many others), basically it does a long loop inside that function.
will splitting the function in smallers ones improve the overall performance? is doing things in small parts usually a good thing for speed or no? I know it depend on the program, but I am asking for the general rule.
I am thinking that splitting the function will generate a overload to the call stack.
( I will test it, but I need lot of time to rewrite all and would like hear your opinions before).