aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_sasl_spec.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-10-11 23:04:13 +0200
committerKim Alvefur <zash@zash.se>2020-10-11 23:04:13 +0200
commitb6f4936b57078c02e7bee7ae524f1e3ab32a2af2 (patch)
treed9debc81153eb3764a6a4426b43f3a47b18d91d7 /spec/util_sasl_spec.lua
parent22befd94aeb723dd74050b931ad98b8784e3a70e (diff)
downloadprosody-b6f4936b57078c02e7bee7ae524f1e3ab32a2af2.tar.gz
prosody-b6f4936b57078c02e7bee7ae524f1e3ab32a2af2.zip
util.paths: Optimize path joining with few arguments
A casual search suggests that the majority of paths.join() calls involve only two arguments. This saves the creation of a table for up to 3 arguments. Looks like 3x faster for 3 arguments or less, 5% slower when it uses the array to concatenate.
Diffstat (limited to 'spec/util_sasl_spec.lua')
0 files changed, 0 insertions, 0 deletions