Making 7z, xz, and ZIP use more than one core
Creating a 7z on a Mac was 8× slower than 7-Zip until it wasn't. How Purrchiver made xz, 7z, and ZIP compression multithreaded.
Creating a 7z on a Mac was 8× slower than 7-Zip until it wasn't. How Purrchiver made xz, 7z, and ZIP compression multithreaded.
Brotli files over 64 KiB failed with "stream processing failed". The cause: a Swift pointer outliving its closure, found by a cross-tool test suite.
SwiftUI drag-out renamed .gitignore to _gitignore. NSFilePromiseProvider fixed the names, then came a Swift 6 crash and two deadlocks.
Write to a temp file next to the original, then swap: the textbook safe save. In a sandboxed Mac app that temp file can't be created. What works.
How Purrchiver extracts and compresses multi-gigabyte archives with a near-flat memory footprint — and never leaves a half-written file behind.
libarchive returned NULL for every non-ASCII filename in my Swift tests. The cause is the C locale; the fix is uselocale, scoped to the call.