Use pyfastlz instead of pure-python implementation
This commit is contained in:
+1
-1
@@ -209,7 +209,7 @@ classic type 4 `NFC_SESSION_COMPLETE`.
|
||||
| VIM + authd | `openvixdisklib.nfc_auth.authenticate` |
|
||||
| Dup fd, skip TLS for NFC | `openvixdisklib.nfc_open.takeover_authd_socket` |
|
||||
| Second TLS for nbdssl | `openvixdisklib.nfc_open.wrap_nfcssl_socket` |
|
||||
| FastLZ for NBD compression | `openvixdisklib.fastlz` |
|
||||
| FastLZ for NBD compression | `openvixdisklib.fastlz` (pip `pyfastlz`) |
|
||||
| Handshake + AIO + OPEN_FILE | `openvixdisklib.nfc_open.open_disk` |
|
||||
| Sector read / write / close | `openvixdisklib.nfc_open.NfcDisk` |
|
||||
|
||||
|
||||
@@ -294,8 +294,10 @@ not an OPEN_FILE bit. Capture VDDK with that flag (NBD + the port-902
|
||||
- Incompressible chunks fall back to type `0` and raw extra.
|
||||
- 64 KiB chunks use FastLZ level 2; smaller chunks use level 1.
|
||||
|
||||
Replay: `openvixdisklib/fastlz.py` plus `NfcDisk` compression on each
|
||||
IO. Proof: `tests/integration/test_nfc_read_write.py` (`fastlz`) and
|
||||
Replay: pip `pyfastlz` via `openvixdisklib/fastlz.py` (NFC extra is
|
||||
raw FastLZ, without the wrapper's 4-byte length prefix) plus `NfcDisk`
|
||||
compression on each IO. Proof:
|
||||
`tests/integration/test_nfc_read_write.py` (`fastlz`) and
|
||||
`tests/perf/test_compare.py`.
|
||||
|
||||
## What to write down
|
||||
|
||||
Reference in New Issue
Block a user