1851 Commits

Author SHA1 Message Date
Marcus Holland-Moritz
f1f55dd48c feat(dwarfs): add readahead option
The implementation is extremely simple for now and readahead is off
by default. When sequentially accessing large files, the speedup can
be significant, though.
2024-02-12 14:34:40 +01:00
Marcus Holland-Moritz
5460900c97 feat(dwarfs): make block size configurable, mostly for macOS
macFUSE derives the "optimal" read size from `st_blksize`, which
results in very sub-optimal (small) read requests on macOS. This
adds an option to configure the block size and sets the default
sufficiently high on macOS.
2024-02-12 00:37:11 +01:00
Marcus Holland-Moritz
e9f6af84a3 chore(ricepp): clang-format 2024-02-12 00:28:28 +01:00
Marcus Holland-Moritz
f3c85c8588 fix(ricepp): only build cpu selector if we need to v0.9.3 2024-02-11 18:52:16 +01:00
Marcus Holland-Moritz
21fc60ffdf chore: update change log 2024-02-11 18:38:00 +01:00
Marcus Holland-Moritz
428dee3a19 doc: add range-v3 to list of dependencies 2024-02-11 18:25:51 +01:00
Marcus Holland-Moritz
e504fb5d70 chore: try hybrid clang/cl Windows build 2024-02-11 18:23:57 +01:00
Marcus Holland-Moritz
8cbaef612b build: allow including ricepp as package 2024-02-11 18:23:57 +01:00
Marcus Holland-Moritz
3aa7b5c950 chore(ricepp): add install support 2024-02-11 18:23:57 +01:00
Marcus Holland-Moritz
8fc589b30b feat(ricepp): x86 CPU specific implementations 2024-02-11 18:23:57 +01:00
Marcus Holland-Moritz
2f13a26bab test: add --recompress test for null compression (gh #193) 2024-02-11 10:50:21 +01:00
Marcus Holland-Moritz
70b0802bea fix: revert "get rid of null_block_decompressor" (fixes gh #193)
This reverts commit 0771e8aa7d51994fa83a59d541b4df664ac94662.
2024-02-11 10:38:13 +01:00
Marcus Holland-Moritz
0f9fb96ff4 chore(ricepp): a few more speed tweaks 2024-02-11 10:29:49 +01:00
Marcus Holland-Moritz
019ad92434 chore(ricepp): slightly faster read_bits() implementation 2024-02-11 10:29:49 +01:00
Marcus Holland-Moritz
9e8322ffc6 refactor(ricepp): some bitstream reader/writer cleanups 2024-02-11 10:29:49 +01:00
Marcus Holland-Moritz
2fa95c6816 chore(ricepp): fix windows build 2024-02-11 10:29:49 +01:00
Marcus Holland-Moritz
b4f9bcc863 chore(ricepp): fixes for windows/clang build 2024-02-11 10:29:49 +01:00
Marcus Holland-Moritz
f125999ffa chore: support benchmarks on Windows 2024-02-10 13:23:59 +01:00
Marcus Holland-Moritz
336cce52bf chore(ricepp): add comment to bitstream_reader 2024-02-10 11:11:38 +01:00
Marcus Holland-Moritz
3109827ac2 chore: one oldgcc build is enough 2024-02-09 20:09:37 +01:00
Marcus Holland-Moritz
e16cce2a15 fix(file_scanner): fix hardlink processing in presence of errors v0.9.2 2024-02-09 18:52:35 +01:00
Marcus Holland-Moritz
9ce46057b4 chore: update change log 2024-02-09 11:41:21 +01:00
Marcus Holland-Moritz
ba82ed9f75 chore(file_scanner): better error checking for file_start_hash_ 2024-02-09 09:18:40 +01:00
Marcus Holland-Moritz
96d526fc8d fix(file_scanner): large hard linked files caused an exception
Somehow I managed to either completely forget to add items to
`file_start_hash_`, or I managed to remove the code at some point.
In any case, this meant large hard linked files could not to be
found in `unique_size_`, ultimately causing the file scanner to
throw.
2024-02-09 09:13:59 +01:00
Marcus Holland-Moritz
b5cbc02110 fix: always use delayed loading for WinFsp DLL 2024-02-08 10:20:14 +01:00
Marcus Holland-Moritz
4e60bbb807 test: more checksum interface tests 2024-02-07 21:19:33 +01:00
Marcus Holland-Moritz
8831009a52 feat(dwarfsck): add --list, --checksum, --verbose (fixes gh #192) 2024-02-07 20:59:47 +01:00
Marcus Holland-Moritz
d6bd917fae feat(filesystem): add get_all_uids() and get_all_gids() methods 2024-02-07 20:59:47 +01:00
Marcus Holland-Moritz
7ded26d6a3 feat(checksum): add hexdigest() method 2024-02-07 20:59:47 +01:00
Marcus Holland-Moritz
b54347d341 refactor(tool_main_test): more relaxed error message tests 2024-02-07 17:29:26 +01:00
Marcus Holland-Moritz
4f4353ce06 docs: bump latest release 2024-02-06 13:21:20 +01:00
Marcus Holland-Moritz
2819b6d09a docs: moar badges 2024-02-06 13:21:00 +01:00
Marcus Holland-Moritz
ba7379dc18 chore: update change log v0.9.1 2024-02-06 10:20:58 +01:00
Marcus Holland-Moritz
9d104f5ec6 test: enable unicode progress tests on Windows 2024-02-06 10:20:58 +01:00
Marcus Holland-Moritz
6f738f8f02 fix: sanitize UTF-8 strings, plus tests (fixes gh #191) 2024-02-06 10:20:58 +01:00
Marcus Holland-Moritz
6d5f8dcab5 build: --as-needed doesn't work well for us with BUILD_SHARED_LIBS 2024-02-06 08:04:13 +01:00
Marcus Holland-Moritz
58a8fce885 refactor(ricepp): some consting 2024-02-06 07:58:55 +01:00
Marcus Holland-Moritz
f1672b6c78 feat(ricepp): some minor speed improvements 2024-02-05 21:52:03 +01:00
Marcus Holland-Moritz
f95e59e10b chore(ricepp): find pkgconfig in CMakeLists.txt 2024-02-05 21:50:55 +01:00
Marcus Holland-Moritz
81c451ace2 docs: check out release version for macOS build 2024-02-05 18:03:44 +01:00
Marcus Holland-Moritz
15dde6d774 fix: typo in README 2024-02-05 15:41:05 +01:00
Marcus Holland-Moritz
570fb368f0 chore: don't fail CI if codecov.io upload fails v0.9.0 2024-02-05 14:24:38 +01:00
Marcus Holland-Moritz
1ec3237ab4 chore: update change log 2024-02-05 11:40:57 +01:00
Marcus Holland-Moritz
c35c90cbcf chore: update README 2024-02-05 11:40:50 +01:00
Marcus Holland-Moritz
d9154753c6 chore: clean up ricepp directory 2024-02-04 19:33:27 +01:00
Marcus Holland-Moritz
6ca47f5e75 fix(ricepp): workaround missing constexpr-ness of Windows _byteswap* 2024-02-04 14:04:48 +01:00
Marcus Holland-Moritz
4811199406 feat(ricepp): another 15% decode speedup 2024-02-04 13:48:23 +01:00
Marcus Holland-Moritz
107a89425e feat(ricepp): 15% decode speed improvement 2024-02-04 13:39:33 +01:00
Marcus Holland-Moritz
0a69be84f0 feat(ricepp): more than 50% compression speed improvement 2024-02-04 13:29:56 +01:00
Marcus Holland-Moritz
6904e1d531 chore(ricepp): add benchmark 2024-02-04 13:29:05 +01:00