[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: Speed of all-completions]

From: David Kastrup
Subject: Re: address@hidden: Speed of all-completions]
Date: 15 Jun 2004 17:55:47 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Luc Teirlinck <address@hidden> writes:

> If we decide to bind around the entire while loop we should document
> the fact that the binding is in effect during the call to predicate in
> the Elisp manual.  In that case, the
> `if (CONSP (Vcompletion_regexp_list))' should be removed, and for
> consistency, the scope should also be extended in Ftest_completion.
> Is one single prolonged binding using specbind expensive or was the
> efficiency problem completely caused by the fact that it was used
> countless times in a loop?

The single prolonged binding is expensive, as in most cases the loop
is not entered even once.

At least that's what I understood.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

[Prev in Thread] Current Thread [Next in Thread]