aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_xml_spec.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
commit339ababe645bf4c226d0dd8e17249e1d896d7f01 (patch)
tree08dd2c3c7d7f8b96a9433b13639abdebc2534c92 /spec/util_xml_spec.lua
parent40c199ef2c94e0940538fc95a156966d97a9ec22 (diff)
downloadprosody-339ababe645bf4c226d0dd8e17249e1d896d7f01.tar.gz
prosody-339ababe645bf4c226d0dd8e17249e1d896d7f01.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 'spec/util_xml_spec.lua')
0 files changed, 0 insertions, 0 deletions