GNU bug report logs -
#14776
24.3.50; [PATCH] parse-time-string performance
Previous Next
Reported by: Andreas Politz <politza <at> hochschule-trier.de>
Date: Wed, 3 Jul 2013 01:23:01 UTC
Severity: wishlist
Tags: patch, wontfix
Found in version 24.3.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Andreas Politz <politza <at> hochschule-trier.de> writes:
> Like strptime ?
Or parse-datetime:
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=lib/parse-datetime.y
> Probably not worth it, since it doesn't seem to be a bottleneck,
> contrary to what I was suggesting. Or are there other reasons ?
It's not much of a bottleneck, no:
(benchmark-elapse (dotimes (i 10000) (parse-time-string "Thu, 04 Jul 2013 20:06:00 +0200")))
=> 1.120856647
But sorting a summary buffer of 5K messages on Date (which some people
do) might get a performance boost. But I was thinking that it might be
more likely that parse-datetime parses more date strings correctly than
the version in parse-time.el.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
This bug report was last modified 5 years and 335 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.