Zsh Mailing List Archive
Messages sorted by:
Are completions in some way heavy?
- X-seq: zsh-users 21620
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Are completions in some way heavy?
- Date: Mon, 6 Jun 2016 14:43:39 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=ijafS0ol/AsF3e+ntZt3JDBKJkeapY5XmuxtwAlk2gg=; b=yIrgQA5ieb7fxri3YBNPhavfcaHBLUBx+pbyUoUHUenQL4cNJgTcAmzK0GFU43VFQt mt8LFLkBHZdMtBjMvYoHPs1J0sytBK7VsAl2Fi2p1wlQvudOiLOE8tWOqD1ZliGdmCu/ Yv6RzjYh2ySxrAcMgt4pusgNGcBaqZZckUF0UwduA4qEO+1uIiU8cD5pS5th0EAQVhQt MBmcopqCq6D+/88OSmvbbYAcQx6TGZHivR6POmn8fnHZQke0tW6EhdGf2FKYeeyGxsPf qZo5e7WcRDWzJPn5UTBAI3EauNMqUOyXTUkRDksAXZDwTwzAYZHhVvM1JjdPxZj+00CM 9RaQ==
- List-help: <mailto:firstname.lastname@example.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:email@example.com>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
I've started a project that basically re-delivers all Zsh completion functions:
The point is: with Zplugin it's possible to enable only selected
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.
Messages sorted by: