context-color icon indicating copy to clipboard operation
context-color copied to clipboard

Rewrite in a lower-level language

Open ramnes opened this issue 1 month ago • 0 comments

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. :)

ramnes avatar May 14 '24 12:05 ramnes