arbtt feedback

Joachim Breitner nomeata at debian.org
Fri Sep 28 00:05:10 CEST 2012


Hi,

Am Dienstag, den 25.09.2012, 20:58 -0400 schrieb Gwern Branwen:
> The syntax seems to work well, although I question the need for m!! or
> ""s when it's already inside a =~ or == list.

see it as a form of explicit typing; it reduces the risk that someone
writes a string when he means a regex or the other way around.

> Performance is still bad - can't look at previous day with Firefox
> open and without Arbtt being killed at 30+% RAM.

Finally I felt bold enough to tackle this problem and indeed I managed
to refactor the code to process input data in one go, thanks to the
power of the left fold, applicative and careful strictness. Here I now
need only 10MBs.

I did not yet make a release, but the change is in darcs, if someone
wants to review it from there. Here is the patch:
http://darcs.nomeata.de/cgi-bin/darcsweb.cgi?r=arbtt;a=commitdiff;h=20120927215912-23c07-276f00ebc5d076859c42b8ebb340d93a86767253.gz

Especially figuring out how to do processIntervalReport in src/Stats.hs
was an interesting exercise...

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/20120928/a28335c9/attachment.asc>


More information about the arbtt mailing list