aboutsummaryrefslogtreecommitdiffstats
path: root/util/id.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
commitda8eca639abefd5419651d59f83ef06ba9113358 (patch)
tree08dd2c3c7d7f8b96a9433b13639abdebc2534c92 /util/id.lua
parentd5161fbf6fc9abcbff07dcd5512413cf294c74a1 (diff)
downloadprosody-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 'util/id.lua')
0 files changed, 0 insertions, 0 deletions