Skip to content

Commit b70e4ea

Browse files
author
Overmind
committed
release: MCX v2.0.1 — speed optimizations + CLI bench + packaging
MTF decode +67%, RC inline +30% decomp, bench command, man page, HC match finder, PyPI workflow, CI fixes for all platforms.
1 parent 5ceebd3 commit b70e4ea

3 files changed

Lines changed: 25 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,29 @@
22

33
All notable changes to MaxCompression are documented in this file.
44

5+
## [2.0.1] — 2026-03-18
6+
7+
### Added
8+
- `mcx bench <file>` command — benchmark all compression levels with speed/ratio comparison.
9+
- Man page (`docs/mcx.1`).
10+
- Hash chain match finder (`hc_match.c`) — 4× faster alternative for future speed modes.
11+
- PyPI publish workflow (`.github/workflows/pypi.yml`) + `pyproject.toml`.
12+
- L26 (LZRC) roundtrip test in CI.
13+
- Python bindings: `version()` and `compress_bound()` functions.
14+
15+
### Changed
16+
- **MTF decode +67% faster** — replaced byte loop with `memmove` (29→49 MB/s).
17+
- **RC decoder inline** — decompress +19–36% (cross-TU inlining of hot path).
18+
- **RC encoder inline** — compress +57–113%.
19+
- **BT depth 64→32** — same ratio, ~7% faster compression.
20+
- Portable bench timing (Windows `QueryPerformanceCounter`, POSIX `clock_gettime`).
21+
22+
### Fixed
23+
- CI: Windows `__builtin_ctzll``mcx_ctzll()` portability.
24+
- CI: OpenMP optional (`find_package(QUIET)`).
25+
- CI: `_GNU_SOURCE` for `bench_fast.c`.
26+
- CI: Missing `preprocess.h` include in `genetic.c`.
27+
528
## [2.0.0] — 2026-03-18
629

730
### Added

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.15)
22

33
project(maxcomp
4-
VERSION 1.9.3
4+
VERSION 2.0.1
55
DESCRIPTION "MaxCompression — Revolutionary file compression library"
66
LANGUAGES C
77
)

include/maxcomp/maxcomp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ extern "C" {
5050

5151
#define MCX_VERSION_MAJOR 2
5252
#define MCX_VERSION_MINOR 0
53-
#define MCX_VERSION_PATCH 0
53+
#define MCX_VERSION_PATCH 1
5454

5555
/** Returns version as a packed integer: (major*10000 + minor*100 + patch) */
5656
MCXAPI unsigned mcx_version_number(void);

0 commit comments

Comments
 (0)