From 87e5bc058ba509d134c48c28cf35ff400e13de50 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Wed, 19 Jul 2023 00:56:22 +0000 Subject: [PATCH] core: remove best compression --- ndn-svs/core.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ndn-svs/core.cpp b/ndn-svs/core.cpp index 080cff7..1881800 100644 --- a/ndn-svs/core.cpp +++ b/ndn-svs/core.cpp @@ -247,13 +247,13 @@ SVSyncCore::sendSyncInterest() Name syncName(m_syncPrefix); #ifdef NDN_SVS_COMPRESSION - vvWire.encode(); - boost::iostreams::filtering_istreambuf in; - in.push(boost::iostreams::lzma_compressor(boost::iostreams::lzma::best_compression)); - in.push(boost::iostreams::array_source(reinterpret_cast(vvWire.data()), vvWire.size())); - ndn::OBufferStream compressed; - boost::iostreams::copy(in, compressed); - vvWire = ndn::Block(svs::tlv::StateVectorLzma, compressed.buf()); + vvWire.encode(); + boost::iostreams::filtering_istreambuf in; + in.push(boost::iostreams::lzma_compressor()); + in.push(boost::iostreams::array_source(reinterpret_cast(vvWire.data()), vvWire.size())); + ndn::OBufferStream compressed; + boost::iostreams::copy(in, compressed); + vvWire = ndn::Block(svs::tlv::StateVectorLzma, compressed.buf()); #endif syncName.append(Name::Component(vvWire));