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
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
|
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
Comment by Pierre Schmitz (Pierre) -
Tuesday, 06 July 2010, 07:47 GMT
Thanks for the hint.