From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66764 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Exchange Updating Info Problem Date: Thu, 10 Apr 2008 08:12:24 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <86od8h6eh3.fsf@lifelogs.com> References: <76y77udh78.fsf@dev-d01.ppllc.com> <86wsn86my5.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207833109 24386 80.91.229.12 (10 Apr 2008 13:11:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Apr 2008 13:11:49 +0000 (UTC) Cc: Jake Colman , ding@gnus.org To: James Cloos Original-X-From: ding-owner+M15247@lists.math.uh.edu Thu Apr 10 15:12:21 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1JjwYp-0001r6-Mo for ding-account@gmane.org; Thu, 10 Apr 2008 15:11:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1JjwXf-0006T9-IV; Thu, 10 Apr 2008 08:10:15 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JjwXe-0006Sz-GG for ding@lists.math.uh.edu; Thu, 10 Apr 2008 08:10:14 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JjwXY-0000GI-DG for ding@lists.math.uh.edu; Thu, 10 Apr 2008 08:10:14 -0500 Original-Received: from mail.blockstar.com ([170.224.69.95]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JjwXi-0001SH-00 for ; Thu, 10 Apr 2008 15:10:18 +0200 Original-Received: from tzlatanov-ubuntu-desktop.jumptrading.com (unknown [38.98.147.130]) by mail.blockstar.com (Postfix) with ESMTP id 05FEB3E8023; Thu, 10 Apr 2008 06:17:16 -0700 (PDT) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" X-Hashcash: 1:20:080410:cloos@jhcloos.com::P1HZVOEukJmpvbba:000000000000000000000000000000000000000000001rA9 X-Hashcash: 1:20:080410:colman@ppllc.com::reGHLm4AWBEKqsNb:04d/Q X-Hashcash: 1:20:080410:ding@gnus.org::kkJEBYMQgF1zD9kw:0000COEB In-Reply-To: (James Cloos's message of "Wed, 09 Apr 2008 16:35:44 -0400") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66764 Archived-At: On Wed, 09 Apr 2008 16:35:44 -0400 James Cloos wrote: >>>>>> "Ted" == Ted Zlatanov writes: Ted> For me it generates a long list of integers (UIDs) on an Exchange Ted> 2007 server (see at end). Are you seeing something different? If Ted> it's just the 15K article UID numbers, JC> Parsing those 15k digit strings into ints and then compressing them into JC> ranges can take a lot of CPU when done in elisp. JC> Especially when there are gaps. Sure, but can it be avoided? I don't think the Gnus flags map directly to IMAP flags, so it's possible there are SEEN messages that need to be retrieved. I think someone with in-depth knowledge of the relevant nnimap and imap code should comment. In addition, I don't think processing a list 15,000 integers is too slow with Emacs Lisp on a modern machine. The other issue is that the SEARCH SEEN itself takes a long time, over a minute according to Jake's calculation. See his followup. So the number of UIDs may be a red herring. Ted