agriggio / make_arq

A command-line tool for generating Sony A7RIII Pixel-Shift ARQ files
Other
21 stars 4 forks source link

compiling and optimization #10

Open Kezii opened 5 months ago

Kezii commented 5 months ago

Hello, FYI, this repo, with minimal changes, can be run in around ~8 seconds (down from >300) using mypyc, without the need to have the separate C module

see this: https://github.com/andrew-ld/make_arq

pip3 install mypy
mypyc make_arq.py 
python3 make_arq_wrapper.py
python _makearq_setup.py build_ext --inplace

I also made a rust version here: https://github.com/Kezii/PixelShiftMultiShootMerge that runs in about 2 seconds, only for sony

agriggio commented 5 months ago

Thanks for the info! If you an create a pull request I'll be happy to incorporate the changes