Software /
code /
prosody
File
teal-src/util/table.d.tl @ 11738:3f1450ec37f4
net.server_epoll: Improve efficiency of opportunistic writes
Should prevent further opportunistic write attempts after the kernel
buffers are full and stops accepting writes.
When combined with `keep_buffers = false` it should stop it from
repeatedly recreating the buffer table and concatenating it back into a
string when there's a lot to write.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 14 Aug 2021 13:07:29 +0200 |
parent | 11459:86904555bffc |
child | 12618:17cc122cc2e8 |
line wrap: on
line source
local record lib create : function (narr:integer, nrec:integer):table pack : function (...:any):{any} end return lib