Add ahead-of-time compilation for cli and optimize thumbnail caching #136

Merged
zach merged 2 commits from feat/aot-compilation-cli into main 2026-07-08 13:41:18 +02:00
Owner

Includes nuitka as a dependency to compile the CLI tool ahead-of-time for improved performance.

This also changes the hatchling build to include preset schemes as importlib.resources, making them available anywhere.

The generate command now properly caches thumbnails to a directory when it is run without the --preset flag. Cached thumbnails are then returned directly, avoiding image-processing for larger images. I also fixed a rare quickshell crash involving non-atomic writes to scheme.json.

Includes [nuitka](https://nuitka.net/) as a dependency to compile the CLI tool ahead-of-time for improved performance. This also changes the hatchling build to include preset schemes as `importlib.resources`, making them available anywhere. The `generate` command now properly caches thumbnails to a directory when it is run without the `--preset` flag. Cached thumbnails are then returned directly, avoiding image-processing for larger images. I also fixed a rare quickshell crash involving non-atomic writes to `scheme.json`.
zach added 1 commit 2026-07-08 12:30:06 +02:00
Add ahead-of-time compilation for cli and optimize thumbnail caching
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 46s
Python / lint-format (pull_request) Successful in 49s
Python / test (pull_request) Successful in 47s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m42s
C++ / build (pull_request) Successful in 3m7s
6d5609fe5b
zach added 1 commit 2026-07-08 13:01:58 +02:00
fix cmake compilation of python code
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 13s
Python / lint-format (pull_request) Successful in 31s
Python / test (pull_request) Successful in 41s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m41s
C++ / build (pull_request) Successful in 2m27s
87433334c7
AramJonghu approved these changes 2026-07-08 13:41:11 +02:00
zach merged commit 1cbe9a9f8a into main 2026-07-08 13:41:18 +02:00
zach deleted branch feat/aot-compilation-cli 2026-07-08 13:41:21 +02:00
Sign in to join this conversation.