Pass new buffer length to Buffer.concat (it's faster)
authorJack Allnutt <jack@allnutt.eu>
Sun, 15 Sep 2013 12:23:51 +0000 (13:23 +0100)
committerJack Allnutt <jack@allnutt.eu>
Sun, 15 Sep 2013 12:23:51 +0000 (13:23 +0100)
commitcc703ed5b68688c064675262abcd12ea6b9eea8d
tree3952a2dede6cfb66853cfa8a7ebbea44d5e7b5fd
parent142b3e73d1b531c3969b2c17c63d1003bf9b4100
Pass new buffer length to Buffer.concat (it's faster)

As per http://nodejs.org/api/buffer.html#buffer_class_method_buffer_concat_list_totallength it's faster to provide the new total length to Buffer.concat
server/irc/connection.js