Repository navigation
Changed
- nex uses much less memory at idle. On macOS its resident memory drops from about 480 MB to
about 60 MB: font lookup now maps font files instead of reading every system font into
memory. - egui's glyph atlas is capped at 4096 px wide instead of the GPU's maximum (16384 px), which
saves a few MB in memory and on the GPU. - Memory freed during startup and after a font change is given back to the system (on Linux,
glibc also keeps fewer per-thread heaps).
Added
bench/mem.shshows where nex's idle memory goes on Linux: heap, GL driver, the binary
and fonts.
Install
Debian / Ubuntu
sudo apt install ./nex_*_amd64.deb # or _arm64.debAny Linux (tarball)
tar xzf nex-v0.8.2-x86_64-linux.tar.gz
./nex-v0.8.2-x86_64-linux/install.sh # installs to ~/.localmacOS (Apple Silicon and Intel)
Unzip nex-v0.8.2-macos-app.zip and drag nex.app to Applications. It isn't
notarized yet, so clear the download flag once before opening it:
xattr -dr com.apple.quarantine /Applications/nex.appOr install the app plus the nex command with the tarball:
tar xzf nex-v0.8.2-universal-macos.tar.gz
xattr -dr com.apple.quarantine nex-v0.8.2-universal-macos
./nex-v0.8.2-universal-macos/install.sh # nex.app + ~/.local/bin/nexVerify downloads with sha256sum -c SHA256SUMS.txt --ignore-missing
(shasum -a 256 -c on macOS).