shithub: hx

ref: 4ae0c205f4f447958b41bb35dddff38a72807ea9
dir: /README.md/

View raw version
# hx

A faster version of `hexdump -C` that I constantly use.

Comparison on a 1.8Gb file, `time <command> >/dev/null`:

| hexdump -C file | hx file        |
|:----------------|:---------------|
| real 3m56.715s  | real 0m6.111s  |
| user 3m55.839s  | user 0m5.235s  |
| sus  0m0.847s   | sys  0m0.489s  |

Around 40 times faster, eh?

# Building

`gcc -Wall -Wextra -O2 -s -g0 hx.c -o hx`