aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_pubsub_spec.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2024-02-23 12:08:37 +0000
committerMatthew Wild <mwild1@gmail.com>2024-02-23 12:08:37 +0000
commit7f748556a2e4bc189bc994707138d129af2100a4 (patch)
tree2995372728f2a34844c2026a46faf78ce5851ee1 /spec/util_pubsub_spec.lua
parent1606675762e0ac0d9609d6d5b1d69492d2e29abb (diff)
downloadprosody-7f748556a2e4bc189bc994707138d129af2100a4.tar.gz
prosody-7f748556a2e4bc189bc994707138d129af2100a4.zip
util.strbitop: Add common_prefix_bits() method
This returns the number of bits that two strings have in common. It is significantly more efficient than similar calculations in Lua.
Diffstat (limited to 'spec/util_pubsub_spec.lua')
0 files changed, 0 insertions, 0 deletions