Skip to content

Commit

Permalink
Remove reference to arguments which was unused and de-optimizes the c…
Browse files Browse the repository at this point in the history
…onstructor.
  • Loading branch information
mranney committed Nov 14, 2011
1 parent 0c8646b commit 2fa2ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/queue.js
Expand Up @@ -5,7 +5,7 @@ var to_array = require("./to_array");

function Queue() {
this.tail = [];
this.head = to_array(arguments);
this.head = [];
this.offset = 0;
}

Expand Down

0 comments on commit 2fa2ffc

Please sign in to comment.