1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

Remove reference to arguments which was unused and de-optimizes the constructor.

This commit is contained in:
Matt Ranney
2011-11-13 18:12:53 -10:00
parent 0c8646bc61
commit 2fa2ffc438

View File

@@ -5,7 +5,7 @@ var to_array = require("./to_array");
function Queue() { function Queue() {
this.tail = []; this.tail = [];
this.head = to_array(arguments); this.head = [];
this.offset = 0; this.offset = 0;
} }