aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_throttle_spec.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-07-16 15:40:08 +0200
committerKim Alvefur <zash@zash.se>2021-07-16 15:40:08 +0200
commit50bd7b79ea2c7c904661057c751c0e9df2c3eb91 (patch)
tree127991402d4e9f902dfcde796b05a840f7f4353a /spec/util_throttle_spec.lua
parent56fef6867fc30100b77be1146e4e70bf25970e6b (diff)
downloadprosody-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 'spec/util_throttle_spec.lua')
0 files changed, 0 insertions, 0 deletions