xxHash jest teraz osobną biblioteką
This commit is contained in:
parent
b3c317c914
commit
29b2460910
5 changed files with 11 additions and 11 deletions
|
|
@ -65,7 +65,7 @@ std::vector<char> ChunkManager::chunked(const std::vector<char>& raw, const bool
|
|||
// Kompresja
|
||||
std::vector<char> ChunkManager::compress_data(const std::vector<char>& input)
|
||||
{
|
||||
const int level = 3;
|
||||
const int level = COMPRESSION_LEVEL;
|
||||
|
||||
// Obs³uga pustego chunku: zwracamy pusty wynik (0 bajtów).
|
||||
if (input.empty()) return {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue