Skip to content

PJA 0.6.1

Choose a tag to compare

@github-actions github-actions released this 01 Nov 06:30
· 145 commits to main since this release

About 8% faster, compressing and extracting, with the same output.

  • clang for the model's C. Profiling showed 92% of the time in stream version 7's coefficient loop, which is C. The same C built with clang instead of gcc runs about 8% faster on x86-64 (20 photos, one thread: compress 8.9 -> 8.2 s, extract 4.4 -> 4.0 s). The releases now build it with clang on Linux (x86-64, x86, arm64) and Windows x64, as macOS already did. Windows x86 stays on gcc.
  • The same bytes. Both compilers write identical streams on every code path (AVX2, SSE4.1, plain) in 64 and 32 bits, and CI checks that every platform writes the same bytes. .pja files, 7-Zip archives and zpaq-std archives are unchanged, and the zpaq-std plugin's codecs are 0.6.0's.
  • No C runtime, still. clang turns some loops into memset/memcpy calls, which a DLL without a C runtime cannot resolve. The build now gives clang -fno-builtin, so the Windows DLLs import only kernel32, oleaut32 and user32, as before.

Downloads

platform the pja command the zpaq-std plugin libpja (C library, 7-Zip plugin)
Linux x86-64 pja-0.6.1-linux-x86_64.tar.gz pja-0.6.1-zpaqstd-plugin-linux-x86_64.tar.gz pja-0.6.1-lib-linux-x86_64.tar.gz
Linux x86 (32-bit) pja-0.6.1-linux-x86.tar.gz pja-0.6.1-zpaqstd-plugin-linux-x86.tar.gz pja-0.6.1-lib-linux-x86.tar.gz
Linux arm64 pja-0.6.1-linux-arm64.tar.gz pja-0.6.1-zpaqstd-plugin-linux-arm64.tar.gz pja-0.6.1-lib-linux-arm64.tar.gz
macOS arm64 pja-0.6.1-macos-arm64.tar.gz pja-0.6.1-zpaqstd-plugin-macos-arm64.tar.gz pja-0.6.1-lib-macos-arm64.tar.gz
Windows x64 (7 and later) pja-0.6.1-windows-x64.zip pja-0.6.1-zpaqstd-plugin-windows-x64.zip pja-0.6.1-lib-windows-x64.zip
Windows x86 (XP and later) pja-0.6.1-windows-x86.zip pja-0.6.1-zpaqstd-plugin-windows-x86.zip pja-0.6.1-lib-windows-x86.zip

pja-0.6.1-zpaqstd.tar.gz holds the plugin's sources as zpaq-std vendors them, with VENDOR.md. CI builds and checks every binary on its own platform (.github/workflows/release.yml); libpja is checked with its C test and, on Linux x86-64, through a real 7-Zip. SHA256SUMS has the checksums. The Linux builds need glibc 2.34 or later. The macOS ones are not signed: run xattr -d com.apple.quarantine after unpacking.