@OleksandrR. It is a numerical method...The output looks ok with while loop...but I wanted to implement NestWhile hoping that it will be more effecient
@brama insert N in some strategic places and see if things improve. But really I am just guessing, of course, because you don't give any actual detail about what you're really doing
@OleksandrR. I can send you my code...if you wish to look at...it is not too big!!...All my inputs are real. I am pretty positive there are no rationals. I think there is a problem with my Syntax because it is slowing down in another simulation application too. The syntax I use is NestWhile[(...bunch of steps...)&, , T>0 &] where T is calculated in every iteration in the loop
@brama well, I'd rather you don't send it to me personally. If you can produce a small self-contained example then I'd suggest posting it as a question
@brama okay. If it gives you any comfort, I used Whilehere (question), as it was just easier to write the code this way. There is no real performance impact.
@OleksandrR. going back to your earlier comment, what do you mean by "lot of calls out of the VM?" If I have a module with mot of functions and also a compile that calls those functions. Is there a possibility of calling out of VM?