1 Reply Latest reply on Nov 9, 2010 1:11 PM by areohbee

    The cost of LrTasks.yield on Windows and Mac OS

    johnrellis Most Valuable Participant

      On Windows, LrTasks.yield costs about 15 msecs, while on Mac (on similar hardware) it costs only 0.091 msecs, over 100 times faster.  While 15 msecs may not seem like much, it would be a mistake to insert it in a loop that otherwise iterates 1000 times per second -- it will "mysteriously" slow down by a huge amount.



      I wonder what accounts for the difference in costs.