reduce-algebra / homebrew-reduce-algebra

A macOS Homebrew tap for REDUCE, the portable general-purpose computer algebra system.

Home Page:https://github.com/reduce-algebra/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disk image (DMG) speed

johnsonjh opened this issue · comments

Bzip2 DMG is very slow.

I did a quick test:

160M Reduce_6547.dmg (as distributed upstream)
80M Reduce_6547-x86_64-mac_13_ventura-darwin22.3.0-zlib.dmg
59M Reduce_6547-x86_64-mac_13_ventura-darwin22.3.0-lzfse.dmg
55M Reduce_6547-x86_64-mac_13_ventura-darwin22.3.0-bzip2.dmg
49M Reduce_6547-x86_64-mac_13_ventura-darwin22.3.0-lzma.dmg

LZMA is small and fast but is only supported on macOS 10.15+ which is too new, as long as Homebrew should still work on 10.11 systems.

LZFSE is very fast, and only marginally larger than bzip2 and is supported on 10.11 systems.

The bzip2 method is also marked as deprecated, so it likely makes sense to switch to LZFSE.