* CVS User sboukarev [2010-08-20 03:42] writes:
Update of /project/slime/cvsroot/slime In directory cl-net:/tmp/cvs-serv12626
Modified Files: ChangeLog slime.el Log Message: (slime-search-buffer-package): Cache the package, searching every time on large buffers may be slow.
Please don't do that. I'd like to see some evidence first that this is in fact too slow. Second, you certainly don't want to use flet unless inefficiency is your goal.
Hemut
Helmut Eller heller@common-lisp.net writes:
- CVS User sboukarev [2010-08-20 03:42] writes:
Update of /project/slime/cvsroot/slime In directory cl-net:/tmp/cvs-serv12626
Modified Files: ChangeLog slime.el Log Message: (slime-search-buffer-package): Cache the package, searching every time on large buffers may be slow.
Please don't do that. I'd like to see some evidence first that this is in fact too slow. Second, you certainly don't want to use flet unless inefficiency is your goal.
On XEmacs, there is no :eval parameter for minor-mode-alist, so it recomputes modelines of all slime-mode at once. And searching for a package may be the bottleneck. Perhaps you know some other solution to this problem?
* Stas Boukarev [2010-08-20 14:17] writes:
Please don't do that. I'd like to see some evidence first that this is in fact too slow. Second, you certainly don't want to use flet unless inefficiency is your goal.
On XEmacs, there is no :eval parameter for minor-mode-alist, so it recomputes modelines of all slime-mode at once. And searching for a package may be the bottleneck. Perhaps you know some other solution to this problem?
Only update the modeline when slime-mode is activated?
Helmut
Helmut Eller heller@common-lisp.net writes:
- Stas Boukarev [2010-08-20 14:17] writes:
Please don't do that. I'd like to see some evidence first that this is in fact too slow. Second, you certainly don't want to use flet unless inefficiency is your goal.
On XEmacs, there is no :eval parameter for minor-mode-alist, so it recomputes modelines of all slime-mode at once. And searching for a package may be the bottleneck. Perhaps you know some other solution to this problem?
Only update the modeline when slime-mode is activated?
That's what it's doing, but the number of slime-mode buffers may be high, with large files containing no IN-PACKAGE.