diff options
author | Kim Alvefur <zash@zash.se> | 2020-10-15 16:43:30 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-10-15 16:43:30 +0200 |
commit | da8eca639abefd5419651d59f83ef06ba9113358 (patch) | |
tree | 08dd2c3c7d7f8b96a9433b13639abdebc2534c92 /plugins/mod_storage_xep0227.lua | |
parent | d5161fbf6fc9abcbff07dcd5512413cf294c74a1 (diff) | |
download | prosody-da8eca639abefd5419651d59f83ef06ba9113358.tar.gz prosody-da8eca639abefd5419651d59f83ef06ba9113358.zip |
util.strbitop: Create buffer in the correct size (optimization)
This avoids dynamically growing the buffer as Lua does when luaL_addchar
is used, thus saving on realloc calls.
Diffstat (limited to 'plugins/mod_storage_xep0227.lua')
0 files changed, 0 insertions, 0 deletions