Skip to content

Commit

Permalink
Remove old comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Flion committed Sep 16, 2023
1 parent 643cb76 commit ef30ce9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cubic-server/CompressionUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ int compressVector(const std::vector<uint8_t> &source, std::vector<uint8_t> &des
return return_value;
}

// TODO(huntears): Optimize this HOLY SHIT
bool decompressVector(const std::vector<uint8_t> &compressedBytes, std::vector<uint8_t> &uncompressedBytes, uint32_t size)
{
unsigned full_length = size;
Expand Down Expand Up @@ -88,4 +87,4 @@ bool decompressVector(const std::vector<uint8_t> &compressedBytes, std::vector<u
// uncompressedBytes.insert(uncompressedBytes.begin(), uncomp, uncomp + strm.total_out);
free(uncomp);
return true;
}
}

0 comments on commit ef30ce9

Please sign in to comment.