From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60096 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: Changes in calendar/time-date.el Date: Tue, 05 Apr 2005 12:06:19 +0200 Message-ID: References: <871x9w9dkn.fsf@xs4all.nl> <87mzsezu5f.fsf@xs4all.nl> <87hdimzou0.fsf@xs4all.nl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1112695611 29934 80.91.229.2 (5 Apr 2005 10:06:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Apr 2005 10:06:51 +0000 (UTC) Cc: miles@gnu.org, Reiner Steib , emacs-devel@gnu.org, ding@gnus.org, Lute Kamstra Original-X-From: ding-owner+M8623@lists.math.uh.edu Tue Apr 05 12:06:49 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by ciao.gmane.org with esmtp (Exim 4.43) id 1DIkwz-000680-GC for ding-account@gmane.org; Tue, 05 Apr 2005 12:06:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DIkxY-0005Ch-00; Tue, 05 Apr 2005 05:07:00 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DIkxU-0005Cc-00 for ding@lists.math.uh.edu; Tue, 05 Apr 2005 05:06:56 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DIkxS-0000jf-7u for ding@lists.math.uh.edu; Tue, 05 Apr 2005 05:06:54 -0500 Original-Received: from mail-relay.sonofon.dk ([212.88.64.25]) by quimby.gnus.org with smtp (Exim 3.35 #1 (Debian)) id 1DIkxI-0004x3-00 for ; Tue, 05 Apr 2005 12:06:45 +0200 Original-Received: (qmail 41114 invoked from network); 5 Apr 2005 10:06:36 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 5 Apr 2005 10:06:36 -0000 Original-To: snogglethorpe@gmail.com In-Reply-To: (Miles Bader's message of "Tue, 5 Apr 2005 18:33:56 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60096 gmane.emacs.devel:35577 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60096 Miles Bader writes: > On Apr 5, 2005 4:14 PM, Kim F. Storm 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 http://www.cua.dk