anchor.diff:  -module(mzbl_loop).
   
  --compile({inline, [msnow/0, eval_rates/7, time_of_next_iteration/3, batch_size/4, k_times/5, k_times_iter/8, k_times_spawn/8]}).
  +-compile({inline, [msnow/0, eval_rates/7, time_of_next_iteration/3, batch_size/4]}).
   
   -export([eval/5]).
   
  
positive.code:     case Sleep > ?MAXSLEEP of
          true ->
              timer:sleep(?MAXSLEEP),
              timerun(Start, Shift, TimeFun, NewRate, Body, WorkerProvider, Env, IsFirst, Opts, Batch, State2, Done, NewRun);
          false ->
              Sleep > 0 andalso timer:sleep(Sleep),
              case Time =< LocalTime + Sleep of
  
negative.code:                         false -> batch_size(BatchEnd - BatchStart, GotTime, NeedToSleep, Batch)
                      end,
  
                      timerun(Start, Shift, TimeFun, NewRate, Body, WorkerProvider, Env, false, Opts, NewBatch, NextState, Done + Step*Batch, OldIter + Step*Batch, NewRun)
      end
  end.
  
  