tweaks & support 8,32 & 128 length

This commit is contained in:
2020-04-12 11:58:35 -04:00
parent ab3fb7191e
commit eb49a94ebc
4 changed files with 84 additions and 187 deletions

View File

@@ -1,6 +1,6 @@
# PostgreSQL hamming distance
Hamming distance for fixed-length `bytea` datatype.
Hamming distance for fixed-length `bytea` datatype (8-byte, 32-byte and 128-byte).
### Compiling from source (CMake)
@@ -10,7 +10,8 @@ cmake .
make
```
The functions in this library are very domain-specific and can realistically
only be used within the scope of [irarchives](https://github.com/simon987/irarchives).
Will break catastrophically if function arguments are not exactly the correct length.
See [hamming.c](hamming.c) for more information