stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [STUMP] shell command tab completion takes 6 seconds!


From: Shawn Betts
Subject: Re: [STUMP] shell command tab completion takes 6 seconds!
Date: Fri, 9 Apr 2010 18:15:25 -0700

> I've attached a patch with a faster implementation. Advert to prove it
> works:

This is a great optimization but I think it fails to look at the
bigger picture. It seems for all its awesomeness, the ansi standard
doesn't have a function to list the contents of a fucking directory!
Or at least not all implementations DWIM (I'm looking at you, clisp).
But I'm sure they each have a function in one of their extensions that
does that. So perhaps we should write a function in wrappers.lisp that
calls the right function for each implementation. Then, if needed, we
can just zip through the list and remove anything we're not interested
in (directories come to mind). That would hopefully be even faster.
Any takers?

-Shawn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]