[Haskell-cafe] ANN: unordered-containers - a new, faster hashing-based containers library

Gwern Branwen gwern0 at gmail.com
Wed Feb 23 22:27:44 CET 2011


On Wed, Feb 23, 2011 at 1:18 PM, Johan Tibell <johan.tibell at gmail.com> wrote:
>
> Could you manually look at some of them to see if you find something
> interesting. In particular `Set.size s == 0` (a common use of size in
> imperative languages) could be replaced by `Set.null s`.

You could look at them yourself; I attached the files. I see 6 uses
out of ~100 which involve an == 0

-- 
gwern
http://www.gwern.net



More information about the Haskell-Cafe mailing list