emacs-devel
[Top][All Lists]
Advanced

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

Re: Changes in calendar/time-date.el


From: Kim F. Storm
Subject: Re: Changes in calendar/time-date.el
Date: Tue, 05 Apr 2005 12:06:19 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Miles Bader <address@hidden> writes:

> On Apr 5, 2005 4:14 PM, Kim F. Storm <address@hidden> wrote:
>> >> Can't you move this closer to the definition of message-make-date?
>> >> It's only necessary to suppress compiler warnings for that function.
>> >
>> > I put it inside the defun.
>> 
>> Doing that will slow down the function, so if that function is used
>> a lot, I think it is a really bad idea to do so!
>
> Er, no it won't.  Declaration-only defvars produce no code, whether
> inside a function or no.

Perhaps I misread the various quoted sections.

I was refering to the (require 'parse-date)  or whatever it was called.
Putting require into a function _does_ slow it down.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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