Software /
code /
prosody
File
teal-src/util/id.d.tl @ 11697:6c3d8aa3bbd9
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 16 Jul 2021 15:38:38 +0200 |
parent | 11459:86904555bffc |
line wrap: on
line source
local record lib short : function () : string medium : function () : string long : function () : string custom : function (integer) : function () : string end return lib