aboutsummaryrefslogtreecommitdiffstats
path: root/util/format.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-10-15 16:43:30 +0200
committerKim Alvefur <zash@zash.se>2020-10-15 16:43:30 +0200
commitb85eec876380f5274fcbaa29896df4b37ad908ce (patch)
tree08dd2c3c7d7f8b96a9433b13639abdebc2534c92 /util/format.lua
parent2b119eadb8c7866c056342282c0cff782bd51f1c (diff)
downloadprosody-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 'util/format.lua')
0 files changed, 0 insertions, 0 deletions