From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Andrew J. Korty" Subject: Re: Speeding up agenda display Date: Sat, 2 Jan 2010 09:38:13 -0500 Message-ID: References: <4D8BBF51-8F5A-47E4-99F4-603E349BDD99@gmail.com> <8CAD865A-01AA-49B7-AEE5-1FF088865282@gmail.com> <4CA37E79-ADED-4127-A358-218B6B522F05@iu.edu> <938BEB0E-6A34-44B5-9164-CE26105E3EEB@gmail.com> Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NR57d-0005RC-7r for emacs-orgmode@gnu.org; Sat, 02 Jan 2010 09:38:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NR57Y-0005Mm-JA for emacs-orgmode@gnu.org; Sat, 02 Jan 2010 09:38:28 -0500 Received: from [199.232.76.173] (port=46736 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NR57Y-0005Mh-96 for emacs-orgmode@gnu.org; Sat, 02 Jan 2010 09:38:24 -0500 Received: from hartman.uits.indiana.edu ([129.79.1.194]:52697) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NR57Y-000547-0W for emacs-orgmode@gnu.org; Sat, 02 Jan 2010 09:38:24 -0500 Received: from mail-relay.iu.edu (burns.uits.indiana.edu [129.79.1.202]) by hartman.uits.indiana.edu (8.14.2/8.13.8/IU Messaging Team) with ESMTP id o02EcHgD007776 for ; Sat, 2 Jan 2010 09:38:17 -0500 Received: from [10.0.1.3] (cpe-75-184-122-216.indy.res.rr.com [75.184.122.216]) (authenticated bits=0) by mail-relay.iu.edu (8.14.2/8.13.8/IU Messaging Team Submission) with ESMTP id o02EcEVs000693 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Sat, 2 Jan 2010 09:38:16 -0500 In-Reply-To: <938BEB0E-6A34-44B5-9164-CE26105E3EEB@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode On Jan 2, 2010, at 02:50 , Carsten Dominik wrote: > You can shave off another .5 seconds by pressing the selection key > faster - Org spends 0.46 seconds to wait for your keypress :-) Good point. :-) I optimized things a bit more by caching skip positions and schedule, = deadline, and tag data for each point a skip function is called in a = hash. An example hash value might be (((due-soon . t) (started . nil) (tagged-for-home . t)) . = skip-position) These savings add up when you have several slightly differing agendas in = a block agenda. ajk=