zsh-users
 help / color / mirror / code / Atom feed
* Are completions in some way heavy?
@ 2016-06-06 12:43 Sebastian Gniazdowski
  2016-06-06 16:01 ` Bart Schaefer
       [not found] ` <160606090104.ZM11947__15732.477248139$1465228961$gmane$org@torch.brasslantern.com>
  0 siblings, 2 replies; 15+ messages in thread
From: Sebastian Gniazdowski @ 2016-06-06 12:43 UTC (permalink / raw)
  To: Zsh Users

Hello,
I've started a project that basically re-delivers all Zsh completion functions:

https://github.com/psprint/allcompletions

The point is: with Zplugin it's possible to enable only selected
completions (http://psprint.github.io/Zplugins-completion-management/).
This should provide speed up, to start with 15 enabled completions,
instead of 800, and enable completions at request with simple: zplg
cenable "xauth", etc. I missed the fact that compdump is a final
optimization. My gains are: compinit runs for 36 ms instead of 112 ms,
for almost half of 774 completions disabled.

That's a failure but I thought that maybe shell will be much lighter
with <100 completions pre-loaded? Maybe situation with compsys isn't
that bright because of the number of _* files? How can I reveal
effects of much lighter $functions, etc., is it possible?

Also, overall, it would be nice that I would collect all mainstream _*
patches, and provide the completions for all Zsh versions. Also, maybe
other way around would be possible – rapid iterations on the _* files
in allcompletions tree, then rare but high in volume transfer to the
mainstream. Maybe Github way of development would result in e.g. more
files being compatible with emulate ksh or sh, but I'm not sure if
there would be any interest in such quality-pull-up coding.

Best regards,
Sebastian Gniazdowski


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-06-11 17:44 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-06 12:43 Are completions in some way heavy? Sebastian Gniazdowski
2016-06-06 16:01 ` Bart Schaefer
2016-06-06 19:28   ` Sebastian Gniazdowski
2016-06-07 20:44     ` Bart Schaefer
2016-06-08  4:34       ` Sebastian Gniazdowski
2016-06-08  9:03         ` Oliver Kiddle
2016-06-08 18:40           ` Bart Schaefer
2016-06-10 12:22             ` Sebastian Gniazdowski
2016-06-10 17:42               ` Bart Schaefer
2016-06-11  7:15                 ` Sebastian Gniazdowski
2016-06-11 17:18                   ` Bart Schaefer
2016-06-11 17:44                     ` Sebastian Gniazdowski
     [not found]           ` <160608114009.ZM807__13786.2274809324$1465411295$gmane$org@torch.brasslantern.com>
2016-06-10 17:35             ` Daniel Shahaf
2016-06-10 19:49               ` Bart Schaefer
     [not found] ` <160606090104.ZM11947__15732.477248139$1465228961$gmane$org@torch.brasslantern.com>
2016-06-07 22:53   ` Daniel Shahaf

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).