mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-15 07:16:13 -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>>
|
static std::pair<std::vector<uint8_t>, std::vector<uint8_t>>
|
||||||
freeze(const thrift::metadata::metadata& data);
|
freeze(const thrift::metadata::metadata& data);
|
||||||
|
|
||||||
static void delta_compress(std::vector<uint32_t>& vec);
|
|
||||||
|
|
||||||
class impl {
|
class impl {
|
||||||
public:
|
public:
|
||||||
virtual ~impl() = default;
|
virtual ~impl() = default;
|
||||||
|
@ -1127,10 +1127,6 @@ metadata_v2::freeze(const thrift::metadata::metadata& data) {
|
|||||||
return freeze_to_buffer(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,
|
metadata_v2::metadata_v2(logger& lgr, folly::ByteRange schema,
|
||||||
folly::ByteRange data, metadata_options const& options,
|
folly::ByteRange data, metadata_options const& options,
|
||||||
int inode_offset)
|
int inode_offset)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user