More speedup in darcs; "format $date" found to be expensive
Joachim Breitner
mail at joachim-breitner.de
Wed Oct 3 01:57:16 CEST 2012
Hi,
I did some more speed analysis and found that the use of "format $date"
will considerably slow down your analysis. The next release of arbtt
will therefore also provide date literals, so that you can write
$date >= 2011-01-01 && $date <= 2011-02-01
without conversions to strings or anything of the like.
I can process my own data in just below 9 seconds now; Now the largest
single chunks of time are parsing the binary data and using the regex
library.
Greetings,
Joachim
--
Joachim "nomeata" Breitner
mail at joachim-breitner.de | nomeata at debian.org | GPG: 0x4743206C
xmpp: nomeata at joachim-breitner.de | http://www.joachim-breitner.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.nomeata.de/pipermail/arbtt/attachments/20121003/2cb15d51/attachment.asc>
More information about the arbtt
mailing list