Ville Skyttä wrote:--
BTW that's not what the have() function looks like in recent bash-completion. I suppose you're using an old version. http://anonscm.debian.org/cgit/bash-completion/bash-completion.git/tree/bash_completion#n125
---- Thanks for the update -- but wouldn't that make this performance issue worse? I.e. let W = work and "F" = overhead of func call. going from "func{W}" -> "W" saves 1/3rd of the time, so "F" = 50% of the execution time of 'W'. Going to F(F(W)), would be likely to mean 2 units of F overhead for 2 units work. I.e. going to the inline-alias would save 50% execution time.
_______________________________________________ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel