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 | b85eec876380f5274fcbaa29896df4b37ad908ce (patch) | |
tree | 08dd2c3c7d7f8b96a9433b13639abdebc2534c92 /plugins/mod_welcome.lua | |
parent | 2b119eadb8c7866c056342282c0cff782bd51f1c (diff) | |
download | prosody-b85eec876380f5274fcbaa29896df4b37ad908ce.tar.gz prosody-b85eec876380f5274fcbaa29896df4b37ad908ce.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_welcome.lua')
0 files changed, 0 insertions, 0 deletions