D
Daniele Futtorovic
That would be much simpler. That way you would never optimise a loop
in the process of being executed. That sounds like a much more
plausible task. All you have to do is get the stack right and leave
all the class and instance variable where they are.
The problem it is could wait quite a long time to interrupt. I wonder
how it actually works.
Well, look at it like this: the longer (and hence less frequently) the
method runs (it running indefinitely being the extreme case), the less
reason there is to replace it.