[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14776: 24.3.50; [PATCH] parse-time-string performance
From: |
Lars Magne Ingebrigtsen |
Subject: |
bug#14776: 24.3.50; [PATCH] parse-time-string performance |
Date: |
Thu, 04 Jul 2013 22:31:35 +0200 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Andreas Politz <politza@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/
- bug#14776: 24.3.50; [PATCH] parse-time-string performance, Andreas Politz, 2013/07/02
- bug#14776: 24.3.50; [PATCH] parse-time-string performance, Andreas Politz, 2013/07/02
- bug#14776: 24.3.50; [PATCH] parse-time-string performance, Glenn Morris, 2013/07/02
- bug#14776: 24.3.50; [PATCH] parse-time-string performance, Glenn Morris, 2013/07/02
- bug#14776: 24.3.50; [PATCH] parse-time-string performance, Andreas Politz, 2013/07/04
- bug#14776: 24.3.50; [PATCH] parse-time-string performance, Lars Magne Ingebrigtsen, 2013/07/04
- bug#14776: 24.3.50; [PATCH] parse-time-string performance, Andreas Politz, 2013/07/04
- bug#14776: 24.3.50; [PATCH] parse-time-string performance,
Lars Magne Ingebrigtsen <=
- bug#14776: 24.3.50; [PATCH] parse-time-string performance, Andreas Politz, 2013/07/04
- bug#14776: 24.3.50; [PATCH] parse-time-string performance, Lars Magne Ingebrigtsen, 2013/07/04
- Message not available
- bug#14776: 24.3.50; [PATCH] parse-time-string performance, Lars Ingebrigtsen, 2013/07/06
- bug#14776: 24.3.50; [PATCH] parse-time-string performance, Andreas Politz, 2013/07/06
- bug#14776: 24.3.50; [PATCH] parse-time-string performance, Lars Ingebrigtsen, 2013/07/06
- bug#14776: 24.3.50; [PATCH] parse-time-string performance, Andreas Politz, 2013/07/06
- bug#14776: 24.3.50; [PATCH] parse-time-string performance, Andreas Politz, 2013/07/06
- bug#14776: 24.3.50; [PATCH] parse-time-string performance, Lars Magne Ingebrigtsen, 2013/07/08
bug#14776: 24.3.50; [PATCH] parse-time-string performance, Andreas Politz, 2013/07/04