FS#20086 - [zsh] zsh memory allocation routines are slow

Attached to Project: Arch Linux
Opened by Florian Pritz (bluewind) - Monday, 05 July 2010, 21:31 GMT
Last edited by Pierre Schmitz (Pierre) - Tuesday, 06 July 2010, 07:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Our zsh is built with --enable-zsh-mem whereas other distributions (at least debian) build without. With larger history files (depends on the system, but 10k lines or more is a good start) saving the history becomes awfully slow. 20k lines ~10-15secs.

I rebuilt zsh with --disable-zsh-mem and this bug was gone.

Steps to reproduce:
use zsh, duplicate the lines in your histfile to about 10000 - 20000 (depending on the system speed), open zsh and exit it again, wait ages.

Fix:
Change --enable-zsh-mem to --disable-zsh-mem or remove the line from the PKGBUILD.
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Tuesday, 06 July 2010, 07:47 GMT
Reason for closing:  Fixed
Comment by Pierre Schmitz (Pierre) - Tuesday, 06 July 2010, 07:47 GMT
Thanks for the hint.

Loading...