epubgrep/src
tastytea 4ff796a590
continuous-integration/drone/push Build is passing Details
Make regular expressions static variables.
Fewer allocations → faster program. About 17% speed increase with 89 books on up
to 3 cores. Measured using the average of 4 runs.
Before: ~15,5 seconds
 After: ~12,8 seconds

Calls to allocation functions went down from 16.652.583 to 5.059.301.
2021-05-28 19:11:32 +02:00
..
CMakeLists.txt Use threads if more than one input file is searched. 2021-05-26 17:50:52 +02:00
files.cpp Remove a few unnecessary .data(), remove unnecessary include. 2021-05-27 19:08:53 +02:00
files.hpp Add --recursive and --dereference-recursive. 2021-05-27 14:45:52 +02:00
fs-compat.hpp.in std::filesystem compatibility for older GCC. 2021-05-20 10:37:45 +02:00
main.cpp Print matches while still searching. 2021-05-28 17:18:34 +02:00
options.cpp Add setting to suppress this-is-not-an-EPUB errors. 2021-05-27 21:48:35 +02:00
options.hpp Add setting to suppress this-is-not-an-EPUB errors. 2021-05-27 21:48:35 +02:00
output.cpp Put output stuff into own function in different file. 2021-05-28 17:07:11 +02:00
output.hpp Put output stuff into own function in different file. 2021-05-28 17:07:11 +02:00
search.cpp Make regular expressions static variables. 2021-05-28 19:11:32 +02:00
search.hpp Rework option parsing, change --no-filename. 2021-05-27 17:20:00 +02:00
version.hpp.in Initial commit. 2021-05-20 04:34:06 +02:00
zip.cpp Skip rest of file if encoding of files in EPUB is broken. 2021-05-28 13:57:51 +02:00
zip.hpp Add error code to zip::exception. 2021-05-27 21:39:01 +02:00