[darcs-users] blue color bug

Juliusz Chroboczek jch at pps.jussieu.fr
Mon Jul 5 15:05:00 UTC 2004


+anyPS f ps | nullPS ps = False
+           | f $ headPS ps = True
+           | otherwise = anyPS f $ tailPS ps

David, that was my first attempt before I sent you the patch with the
printer changes.  Benchmarking indicates that this makes darcs
whatsnew five (5) times slower than with the imperative-style anyPS
that you removed.

This turns out to actually be *slower* than the former version of the
printer (the one that unpacked all packed strings).

                                        Juliusz




More information about the darcs-users mailing list