diff options
author | Kim Alvefur <zash@zash.se> | 2021-07-16 15:40:08 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-07-16 15:40:08 +0200 |
commit | 50bd7b79ea2c7c904661057c751c0e9df2c3eb91 (patch) | |
tree | 127991402d4e9f902dfcde796b05a840f7f4353a /util/ip.lua | |
parent | 56fef6867fc30100b77be1146e4e70bf25970e6b (diff) | |
download | prosody-50bd7b79ea2c7c904661057c751c0e9df2c3eb91.tar.gz prosody-50bd7b79ea2c7c904661057c751c0e9df2c3eb91.zip |
net.server_epoll: Optimize concatenation of exactly 2 buffer chunks
Saves a function call. I forget if I measured this kind of thing but
IIRC infix concatenation is faster than a function call up to some
number of items, but let's stop at 2 here.
Diffstat (limited to 'util/ip.lua')
0 files changed, 0 insertions, 0 deletions