diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:25 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:25 +0300 |
commit | 344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/comptable/usage | |
parent | 706b83ed7de5a473436620367af31fc0ceecde07 (diff) | |
download | ydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/comptable/usage')
-rw-r--r-- | library/cpp/comptable/usage/usage.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/comptable/usage/usage.cpp b/library/cpp/comptable/usage/usage.cpp index 60de3515b4..9997c83686 100644 --- a/library/cpp/comptable/usage/usage.cpp +++ b/library/cpp/comptable/usage/usage.cpp @@ -10,8 +10,8 @@ using namespace NCompTable; template <bool HQ> void DoTest(const TCompressorTable& table, const TVector<TString>& lines) { - TVector<char> compressed; - TVector<char> decompressed; + TVector<char> compressed; + TVector<char> decompressed; TChunkCompressor compressor(HQ, table); TChunkDecompressor deCompressor(HQ, table); @@ -42,18 +42,18 @@ void DoTest(const TCompressorTable& table, const TVector<TString>& lines) { int main(int argc, const char* argv[]) { TReallyFastRng32 rr(17); - TVector<TString> lines; + TVector<TString> lines; /*FILE *fp = fopen("res", "rb"); while (!feof(fp)) { char buff[4096]; fscanf(fp, "%s", buff); - lines.push_back(TString(buff)); + lines.push_back(TString(buff)); }*/ //for (size_t i = 0; i < 10000000; ++i) { //for (size_t i = 0; i < 1000000; ++i) { for (size_t i = 0; i < 1000000; ++i) { size_t size = rr.Uniform(32); - TString res = "www.yandex.ru/yandsearch?text="; + TString res = "www.yandex.ru/yandsearch?text="; for (size_t j = 0; j < size; ++j) { res += "qwer"[rr.Uniform(4)]; } |