You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ time envrc_prompt_command
real 0m0.010s
user 0m0.000s
sys 0m0.000s
Most of the time is spent on bash's forking child processes and sub shells. The directory gets deeper, it takes longer. When the directory gets deep enough, the time lag starts to get annoying.
The rust implementation always takes about 0.002 seconds (overhead of system exec-fork).
The text was updated successfully, but these errors were encountered:
It functions identically to single-argument dirname but returns the result in the REPLY variable and does no fork-and-exec. (For that matter, inlining envrc_find would drop another such fork-and-exec.)
Most of the time is spent on bash's forking child processes and sub shells. The directory gets deeper, it takes longer. When the directory gets deep enough, the time lag starts to get annoying.
The rust implementation always takes about 0.002 seconds (overhead of system exec-fork).
The text was updated successfully, but these errors were encountered: