diff options
author | Matthew Wild <mwild1@gmail.com> | 2024-02-23 12:08:37 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2024-02-23 12:08:37 +0000 |
commit | 7f748556a2e4bc189bc994707138d129af2100a4 (patch) | |
tree | 2995372728f2a34844c2026a46faf78ce5851ee1 /spec/util_indexedbheap_spec.lua | |
parent | 1606675762e0ac0d9609d6d5b1d69492d2e29abb (diff) | |
download | prosody-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_indexedbheap_spec.lua')
0 files changed, 0 insertions, 0 deletions