clean up comments

This commit is contained in:
G.E 2024-05-17 11:27:43 +03:00
parent 22c3e3da6e
commit 3b01effaf7
2 changed files with 0 additions and 7 deletions

View File

@ -360,9 +360,6 @@ public:
size_t sum = 0;
auto packs = [](size_t z, const string &packet) { return z + packet.size(); };
sum += std::accumulate(packets.begin(), packets.end(), 0, packs);
// for (const auto &packet : packets) {
// sum += packet.size();
// }
return sum;
}

View File

@ -535,10 +535,6 @@ size_t calcWideRegionSize(const dfa_info &info) {
(info.impl_alpha_size + 1) * sizeof(u16) + 2);
};
rv += std::accumulate(info.wide_symbol_chain.begin(), info.wide_symbol_chain.end(), 0, chainz);
// for (const auto &chain : info.wide_symbol_chain) {
// rv += ROUNDUP_N(chain.size(), 2) +
// (info.impl_alpha_size + 1) * sizeof(u16) + 2;
// }
return ROUNDUP_16(rv);
}