Permalink
Commits on Sep 22, 2012
Commits on Aug 15, 2012
  1. Bump version number to 1.1.2.5

    tibbe committed Aug 15, 2012
  2. Bump version number to 1.1.2.4

    tibbe committed Aug 15, 2012
  3. Remove upper version bounds on dependencies

    This is a change in policy. From now on upper bounds will only be used
    when newer versions of a dependency is known to not work. This makes
    hashable build with GHC 7.6.1 RC1.
    tibbe committed Aug 15, 2012
  4. Remove unused import

    tibbe committed Aug 15, 2012
Commits on Aug 3, 2012
Commits on May 21, 2012
  1. Fix compilation error

    tibbe committed May 21, 2012
  2. Define hashWithSalt instead of hash for generic Integer instances.

    The current instance used 0 for salt -- why not use given salt instead?
    foxik committed May 21, 2012
  3. Remove stringSalt and use defaultSalt instead.

    Now 'hash = hashWithSalt stringSalt' methods are equivalent to default
    hash method and were therefore deleted.
    foxik committed May 21, 2012
  4. Change defaultSalt from 17 to 2166136261.

    The new value of 2166136261 is specified by FNV-1 as default salt for
    string like types.
    foxik committed May 21, 2012
  5. Saturate {ByteString,Text}.Lazy.foldlChunks calls.

    The foldlChunks gets inlined when given two arguments, which results in
    a small gain as more unwrapping happens.
    foxik committed May 21, 2012
  6. Use 0 and 0x55555555 to distinguish constructors of Maybe and Either.

    Previously, 0 and 1 was used. The constant 0x55555555 is in binary
    01010101010101010101010101010101.
    
    It is simple to see that 0x55555555 = 0xFFFFFFFF `quot` 3. Therefore,
    the constant is computed as (maxBound :: Word) `quot` 3, so it is 64-bit
    wide on 64-bit architectures.
    foxik committed May 10, 2012
Commits on May 10, 2012
  1. Use FNV-1 hash instead of Bernstein hash.

    Also, add prefix "hashable_" to the name of the C implementation of FNV
    hash, so that it would not conflict with other symbols.
    foxik committed May 10, 2012
  2. Reformating.

    * Split and comment dependencies for byteArray#, Integer and ThreadId
    
    * Move ThreadId instance to better place, it was in between string and
      text instances.
    foxik committed May 10, 2012
  3. Add faster Hashable instance for Integers using integer-gmp.

    When using integer-gmp, we can get our hands on the ByteArray#
    representing the Integer, and use hashByteArrayWithSalt.
    
    Nevertheless, care must be taken -- Integers are represented
    * using S# Int#, if the Integer fits into Int#
    * using J# size byteArray, both when the Integer does and does not fit
      into Int#
    Same numbers must have same hash even if they are represented
    differently, so if an 32-bit Integer is represented using J#
    constructor, we still hash it as if it was represented using S#.
    foxik committed May 10, 2012
Commits on Feb 14, 2012
  1. Bump version number to 1.1.2.3

    tibbe committed Feb 14, 2012
  2. Update dependency on test-framework.

    bos committed Feb 14, 2012
Commits on Dec 1, 2011
  1. Add instance for TypeRep

    tibbe committed Dec 1, 2011
Commits on Oct 29, 2011
  1. Bump version number to 1.1.2.2

    tibbe committed Oct 29, 2011
Commits on Oct 28, 2011
Commits on Oct 19, 2011
Commits on Oct 7, 2011
  1. Fix warnings in Properties

    Austin Seipp committed Oct 7, 2011
  2. Ignore cabal-dev directory

    Austin Seipp committed Oct 7, 2011
Commits on Jul 6, 2011
  1. Bump version

    bos committed Jul 6, 2011
Commits on Jun 22, 2011
  1. Improve documentation of 'combine'

    tibbe committed Jun 22, 2011
Commits on May 12, 2011
  1. Bump version number to 1.1.2.0

    tibbe committed May 12, 2011