From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#14776: 24.3.50; [PATCH] parse-time-string performance Date: Sat, 06 Jul 2013 17:34:09 +0200 Message-ID: <87hag7zor2.fsf@building.gnus.org> References: <87sizwxwu2.fsf@hochschule-trier.de> <87li5m1geu.fsf@hochschule-trier.de> <87k3l6jedt.fsf@hochschule-trier.de> <87ppuyhw32.fsf@hochschule-trier.de> <87hagaeztj.fsf@hochschule-trier.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1373124916 7793 80.91.229.3 (6 Jul 2013 15:35:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Jul 2013 15:35:16 +0000 (UTC) Cc: 14776@debbugs.gnu.org To: Andreas Politz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 06 17:35:15 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UvUW2-0004yf-5D for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Jul 2013 17:35:14 +0200 Original-Received: from localhost ([::1]:58357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvUW1-00064q-PR for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Jul 2013 11:35:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvUVv-0005xz-5j for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2013 11:35:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UvUVr-0004DP-2r for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2013 11:35:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvUVq-0004Cb-Ts for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2013 11:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UvUVq-0003OK-FL for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2013 11:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Jul 2013 15:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14776 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 14776-submit@debbugs.gnu.org id=B14776.137312488012976 (code B ref 14776); Sat, 06 Jul 2013 15:35:02 +0000 Original-Received: (at 14776) by debbugs.gnu.org; 6 Jul 2013 15:34:40 +0000 Original-Received: from localhost ([127.0.0.1]:34721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UvUVT-0003ND-B8 for submit@debbugs.gnu.org; Sat, 06 Jul 2013 11:34:39 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:32825) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UvUVP-0003My-IA for 14776@debbugs.gnu.org; Sat, 06 Jul 2013 11:34:37 -0400 Original-Received: from 46.157.223.218.tmi.telenormobil.no ([46.157.223.218] helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UvUVD-0001sD-RD; Sat, 06 Jul 2013 17:34:24 +0200 In-Reply-To: <87hagaeztj.fsf@hochschule-trier.de> (Andreas Politz's message of "Fri, 05 Jul 2013 00:16:08 +0200") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1UvUVD-0001sD-RD MailScanner-NULL-Check: 1373729664.34604@p30OoMlUZphbwHeFvif0Ew X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75995 Archived-At: Andreas Politz writes: > I only considered the strict version. Of course 2-digit years could be > incorporated, but I don't see this as a replacement anyway, rather an > addition or alternative: Try the rfc2822 format and fallback on the > current code: I see no reason to keep both the old 10x slower version and the new fast version. The fast version could surely be made to parse all valid(ish) RFC822 date headers? I think there's a corpus of date headers to test with out there somewhere, but I can't find it at the moment.. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/