[Top][All Lists]

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

Re: do-after-load-evaluation

From: Romain Francoise
Subject: Re: do-after-load-evaluation
Date: Fri, 23 Jun 2006 14:12:08 +0200

David Kastrup <address@hidden> writes:

> Any reason this is not "\\(\\`\\|/\\)foo\\(\\.elc?\\)?\\(\\.gz\\)?\\'"
> instead (should perform better)?

The regexp is built from `load-suffixes' in a place where we can't use
regexp-opt, so it's a simple mapconcat...  I'm not sure if performance
is an important factor in this context, anyway.

> And is there a reason that .elc? is optional?

I don't know about that... it's probably just to make the code do the
same thing as it did before the change.

Romain Francoise <address@hidden> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter

reply via email to

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