33 Commits
Author SHA1 Message Date
Timofey Solomko 33341b690b [LZ4] Code comments grammar and wording improvements 2026-02-03 01:17:21 +08:00
Timofey Solomko ea9aaccfb9 Update copyright year to 2026 2026-01-31 15:30:24 +08:00
Timofey Solomko ed66991cbd Update copyright year to 2024 2024-01-11 16:57:04 +03:00
Timofey Solomko 43132fc39d Update copyright year to 2023 2023-02-07 15:31:45 +02:00
Timofey Solomko 79295db930 Update copyright year to 2022 2022-01-08 15:02:59 +03:00
Timofey Solomko 10905dc588 [docs] Minor fixes to LZ4 documentation 2021-11-03 20:41:48 +03:00
Timofey Solomko e3ffb812b9 [docs] Add documentation for LZ4 decompression functions 2021-11-03 20:13:42 +03:00
Timofey Solomko 04aa3bd034 [LZ4] Add comments about implementation 2021-10-23 21:04:21 +03:00
Timofey Solomko f64c5264f8 [LZ4] Remove extra TODOs 2021-10-22 22:43:50 +03:00
Timofey Solomko c2465fcd75 [LZ4] Verify in decoder that block size is not larger than max block size 2021-10-22 20:52:34 +03:00
Timofey Solomko 6d6a32b7ae [LZ4] Produce output as an arrary when decoding blocks
This change significantly improves performance.
2021-10-22 19:40:17 +03:00
Timofey Solomko 100002cf8f [LZ4] Simplify removing dictionary from the output in decompression 2021-10-21 22:31:34 +03:00
Timofey Solomko bb9574cefd [LZ4] Fix incorrect checks for the location of the last match 2021-10-20 14:48:43 +03:00
Timofey Solomko 20544178a0 [LZ4] Fix potential index issues when setting dictionary for block decoding 2021-10-16 16:25:58 +03:00
Timofey Solomko f6c23987c4 [LZ4] Fix incorrect truncation checks in block decoding 2021-10-15 20:39:28 +03:00
Timofey Solomko ba15f96312 [LZ4] Implement decompression of multiple concatenated frames 2021-10-01 14:41:16 +03:00
Timofey Solomko 8e31f60b10 [LZ4] Check that dictionary is supplied if dictID is present in the frame 2021-09-27 10:46:27 +03:00
Timofey Solomko 4df0d5feb2 [LZ4] Change dictionaryID type to UInt32?
This allows us to verify the value on type level, instead of by using the precondition. It is also okay to use UInt32 instead of Int ("currency type"), since this API is supposed to be used by advanced users only.
2021-09-27 10:43:26 +03:00
Timofey Solomko 4bc7d37d7d [LZ4] Implement dictionary decompression 2021-09-26 19:49:35 +03:00
Timofey Solomko 8f1a1e0517 [Tests] Add tests for LZ4 frames with various block sizes 2021-09-26 15:55:36 +03:00
Timofey Solomko 8e32397e7c [LZ4] Implement legacy frame processing 2021-09-26 15:18:57 +03:00
Timofey Solomko d430e939f8 [LZ4] Implement skipping of skippable frames 2021-09-26 14:37:31 +03:00
Timofey Solomko cfe0416547 [LZ4] Reorganize implementation to support other frame types 2021-09-26 14:24:59 +03:00
Timofey Solomko cb89e77857 [LZ4] Add truncation checks in block processing 2021-09-26 13:52:34 +03:00
Timofey Solomko c4946a00a3 [LZ4] Add checks for end of block restrictions 2021-09-26 13:43:47 +03:00
Timofey Solomko 0b2dd279a9 [LZ4] Implement dependent blocks 2021-09-26 13:32:32 +03:00
Timofey Solomko c6addda952 [LZ4] Implement decoding of independent blocks 2021-09-25 22:56:51 +03:00
Timofey Solomko 39d36a6805 [LZ4] Implement block loop and some checks for truncated data 2021-09-25 21:44:53 +03:00
Timofey Solomko 2daf285539 [LZ4] Implement content checks 2021-09-24 20:55:39 +03:00
Timofey Solomko a233ec8d08 [LZ4] Skip magic number when computing header checksum 2021-09-24 20:41:39 +03:00
Timofey Solomko 885d2e3828 [LZ4] Implement xxHash32 2021-09-24 20:04:36 +03:00
Timofey Solomko c8b4020a9b [LZ4] Implement Frame Descriptor processing 2021-09-24 18:55:41 +03:00
Timofey Solomko de4fcb29cf [LZ4] Add an empty implementation of LZ4 2021-09-23 21:50:35 +03:00