Skip to content

Commit

Permalink
Revert "Speed optimization: flush() went from 84.4ms to 76.7ms on Mon…
Browse files Browse the repository at this point in the history
…tageJS ToDo MVC"

This reverts commit 52f0f87.
  • Loading branch information
kriskowal committed Sep 11, 2014
1 parent 621395a commit ed721ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion q.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ var nextTick =(function () {
function flush() {
/* jshint loopfunc: true */

while ((head = head.next)) {
while (head.next) {
head = head.next;
var task = head.task;
head.task = void 0;
var domain = head.domain;
Expand Down

0 comments on commit ed721ca

Please sign in to comment.