From 2fa2ffc438fae3e3414e96ce6b8bb9a6c3a67d57 Mon Sep 17 00:00:00 2001 From: Matt Ranney Date: Sun, 13 Nov 2011 18:12:53 -1000 Subject: [PATCH] Remove reference to arguments which was unused and de-optimizes the constructor. --- lib/queue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/queue.js b/lib/queue.js index 5cc3c429f2..61587b4e51 100644 --- a/lib/queue.js +++ b/lib/queue.js @@ -5,7 +5,7 @@ var to_array = require("./to_array"); function Queue() { this.tail = []; - this.head = to_array(arguments); + this.head = []; this.offset = 0; }