mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
dfb9a36bb2
Implement compression of objects before they are saved into the storage provider. Each container type can specify which algorithm to use (currently `none` or `zstd`) and the compression level.
20 lines
487 B
C++
20 lines
487 B
C++
#pragma once
|
|
|
|
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
#include "revng/Pipebox/TupleTreeContainer.h"
|
|
#include "revng/Yield/Function.h"
|
|
|
|
namespace revng::pypeline {
|
|
|
|
class AssemblyInternalContainer
|
|
: public TupleTreeContainer<yield::Function, Kinds::Function> {
|
|
public:
|
|
static constexpr llvm::StringRef Name = "AssemblyInternalContainer";
|
|
static constexpr llvm::StringRef Compression = "zstd;level=1";
|
|
};
|
|
|
|
} // namespace revng::pypeline
|