all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Markus Triska <markus.triska@gmx.at>
Cc: 496@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org,
	bug-gnu-emacs@gnu.org, bug-submit-list@donarmstrong.com
Subject: bug#496: 23.0.60; ispell-word becomes increasingly slower
Date: Sat, 28 Jun 2008 18:04:02 +0300	[thread overview]
Message-ID: <ulk0pd2jh.fsf@gnu.org> (raw)
In-Reply-To: <m1abh5zzab.fsf@gmx.at>

> From: Markus Triska <markus.triska@gmx.at>
> Cc: 496@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org,
> 	bug-submit-list@donarmstrong.com, bug-gnu-emacs@gnu.org
> Date: Sat, 28 Jun 2008 11:25:48 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> check for memory leaks in aspell, I did:
> >> 
> >>    $ while true; do echo "test"; done | aspell -a
> >> 
> >> and in this case, aspell's memory usage seems to stay constant.
> >
> > Garbage collection?
> 
> I've received a better test case from the Aspell maintainer: 
> 
>   ( while true; do echo '!'; echo "-"; echo "%"; echo "^test"; done ) | aspell -a
> 
> According to him, it is the constant switching of modes that is causing
> a problem. He notes:
> 
>    "I have narrowed down the problem code. Technically it is not a leak
>    as the code is still reachable (according to valgrind), which makes
>    it harder to fix. I will let you know."
> 
> It is thus more an Aspell problem, but if it cannot be fixed in Aspell,
> I will look whether the Emacs side of communication can be improved.

But your test.el shows a similar problem with Ispell.  So either
Aspell and Ispell share the same problem, or Emacs still has something
to do with the slowdown.






  reply	other threads:[~2008-06-28 15:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-28  0:26 bug#496: 23.0.60; ispell-word becomes increasingly slower Markus Triska
2008-06-28  7:20 ` Eli Zaretskii
2008-06-28  9:25   ` Markus Triska
2008-06-28 15:04     ` Eli Zaretskii [this message]
2008-06-28 15:21       ` Markus Triska

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ulk0pd2jh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=496@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=bug-submit-list@donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=markus.triska@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.