aboutsummaryrefslogtreecommitdiffstats
path: root/util/queue.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-07-16 15:38:38 +0200
committerKim Alvefur <zash@zash.se>2021-07-16 15:38:38 +0200
commit56fef6867fc30100b77be1146e4e70bf25970e6b (patch)
tree7da16d19cdef6f3c5bc0befbe4583a7e7675e19c /util/queue.lua
parent07afd46b58ce91ac96a64140c3a1b7479a6e01fc (diff)
downloadprosody-56fef6867fc30100b77be1146e4e70bf25970e6b.tar.gz
prosody-56fef6867fc30100b77be1146e4e70bf25970e6b.zip
net.server_epoll: Avoid allocating a buffer table for single writes
writebuffer is now string | { string } Saves the allocation of a buffer table until the second write, which could be rare, especially with opportunistic writes.
Diffstat (limited to 'util/queue.lua')
0 files changed, 0 insertions, 0 deletions