Re:Latency matters
by secure on Sunday August 20, 2017 @04:54PM
(#15060218)
I agree. A while ago, I was so fed up with how long my prompt took to render, I went through my zshrc and cleaned up a bunch of stuff to make it faster:
The general techniques used in order of preference are eliminating/skipping work, lazily doing work later, replacing external commands with zsh builtins.
Re:Latency matters
by majewsky on Sunday August 20, 2017 @05:05PM
(#15060249)
Viewing your diff made me wonder if there is a market for custom-compiled shells, where things like the custom prompt or termtitle are baked in at compilation time.
https://github.com/stapelberg/configfiles/compare/5ccd3cbd38...
The general techniques used in order of preference are eliminating/skipping work, lazily doing work later, replacing external commands with zsh builtins.