mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-14 06:48:39 -04:00
Remove delta_compress
This commit is contained in:
parent
e04e897a70
commit
71e92b2005
@ -136,8 +136,6 @@ class metadata_v2 {
|
||||
static std::pair<std::vector<uint8_t>, std::vector<uint8_t>>
|
||||
freeze(const thrift::metadata::metadata& data);
|
||||
|
||||
static void delta_compress(std::vector<uint32_t>& vec);
|
||||
|
||||
class impl {
|
||||
public:
|
||||
virtual ~impl() = default;
|
||||
|
@ -1127,10 +1127,6 @@ metadata_v2::freeze(const thrift::metadata::metadata& data) {
|
||||
return freeze_to_buffer(data);
|
||||
}
|
||||
|
||||
void metadata_v2::delta_compress(std::vector<uint32_t>& vec) {
|
||||
std::adjacent_difference(vec.begin(), vec.end(), vec.begin());
|
||||
}
|
||||
|
||||
metadata_v2::metadata_v2(logger& lgr, folly::ByteRange schema,
|
||||
folly::ByteRange data, metadata_options const& options,
|
||||
int inode_offset)
|
||||
|
Loading…
x
Reference in New Issue
Block a user