You've already forked node-redis
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:
@@ -5,7 +5,7 @@ var to_array = require("./to_array");
|
||||
|
||||
function Queue() {
|
||||
this.tail = [];
|
||||
this.head = to_array(arguments);
|
||||
this.head = [];
|
||||
this.offset = 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user