context-color
context-color copied to clipboard
Rewrite in a lower-level language
On my MacBook M1, context-color
adds a 13 ms overhead on top of whoami; hostname
(16.5 ms vs. 3.2 ms, measured with hyperfine
). While it's not too bad, lower is always better for prompt responsiveness and shell startup time, so it would make sense to rewrite this little tool in a lower-level language such as Rust. And it would be fun as well. :)