aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/comptable/usage/usage.cpp
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/comptable/usage/usage.cpp
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/comptable/usage/usage.cpp')
-rw-r--r--library/cpp/comptable/usage/usage.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/comptable/usage/usage.cpp b/library/cpp/comptable/usage/usage.cpp
index 9997c83686a..60de3515b49 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)];
}