Hi. Let's say that I need recursive function and the maximum times it calls itself is about 15.
Two questions:
- How many recursive calls may there be in amxx?
- Will that number of calls (15) make a big impact to my code performance? Since I need it done fast.
My function:
Code:
gcd(a,b) {
if (b==0)
return a;
else
return gcd(b, a % b);
}
__________________
If you are putting me to credits of some kind please put "Filip Vilicic" instead of "vilaemail". Or put both. Thanks.