Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Benchmark on lofn to count lines in xzcat /fs/vali0/www/data.statmt.org/ngrams/deduped_en/en.00.xz |head -n 10000000 With std::find real 0m0.709s user 0m0.648s sys 0m0.060s Baseline real 0m0.899s user 0m0.820s sys 0m0.076s C++ int main() { std::ios::sync_with_stdio(false); std::string line; while (getline(std::cin, line)) {} } real 0m0.803s user 0m0.536s sys 0m0.264s
- Loading branch information