Merge pull request #245 from lilifan/patch-1

correct type mistake
This commit is contained in:
Ilya Kantor 2017-10-15 18:02:17 +03:00 committed by GitHub
commit ec243fb2a4

View file

@ -325,7 +325,7 @@ Then the next call is scheduled in `(*)` if we're not done yet.
Pauses between `count` executions provide just enough "breath" for the JavaScript engine to do something else, to react on other user actions.
The notable thing is that both variants: with and without splitting the job by `setInterval` -- are comparable in speed. There's no much difference in the overall counting time.
The notable thing is that both variants: with and without splitting the job by `setTimeout` -- are comparable in speed. There's no much difference in the overall counting time.
To make them closer let's make an improvement.