... | ... | @@ -114,7 +114,7 @@ $ salza -s -t joint -i x,x |
|
|
$ cat x x | salza -s -i -
|
|
|
1.084182e+01
|
|
|
```
|
|
|
As the intuition suggests, more concatenations only slightly increase the complexity:
|
|
|
### Yet, as the intuition suggests, more concatenations only slightly increase the complexity:
|
|
|
```
|
|
|
$ cat x x x | salza -s -i -
|
|
|
1.089478e+01
|
... | ... | @@ -124,7 +124,7 @@ $ cat x x x x x | salza -s -i - |
|
|
1.093698e+01
|
|
|
```
|
|
|
|
|
|
### Zeros of `salza`
|
|
|
### Zeroes of `salza`
|
|
|
|
|
|
The empty string has similarity zero:
|
|
|
```
|
... | ... | @@ -161,6 +161,14 @@ $ echo -n "abbbbbc" | salza -s -i - |
|
|
2.405248e+00
|
|
|
```
|
|
|
|
|
|
### Printing factorizations
|
|
|
|
|
|
```
|
|
|
$ echo -n "abbbbbbbbbbbbb" | salza -s -i - -o -
|
|
|
6162Z(-1->12)
|
|
|
```
|
|
|
Groups of two hex numbers indicate a byte to be inserted, while `Z(-dist->len)` reads: "copy `len` bytes located `dist` bytes in the past".
|
|
|
|
|
|
# Reproducing the figures in the preprint
|
|
|
|
|
|
The figures have been produced using:
|
... | ... | |