Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 15, 2012
  1. @tibbe
  2. @tibbe
  3. @tibbe

    Bump version number to 1.1.2.4

    tibbe authored
  4. @tibbe

    Remove upper version bounds on dependencies

    tibbe authored
    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.
  5. @tibbe

    Remove unused import

    tibbe authored
Commits on Aug 3, 2012
  1. @mvv
Commits on May 21, 2012
  1. @tibbe

    Fix compilation error

    tibbe authored
  2. @foxik

    Define hashWithSalt instead of hash for generic Integer instances.

    foxik authored
    The current instance used 0 for salt -- why not use given salt instead?
  3. @foxik

    Remove stringSalt and use defaultSalt instead.

    foxik authored
    Now 'hash = hashWithSalt stringSalt' methods are equivalent to default
    hash method and were therefore deleted.
  4. @foxik

    Change defaultSalt from 17 to 2166136261.

    foxik authored
    The new value of 2166136261 is specified by FNV-1 as default salt for
    string like types.
  5. @foxik

    Saturate {ByteString,Text}.Lazy.foldlChunks calls.

    foxik authored
    The foldlChunks gets inlined when given two arguments, which results in
    a small gain as more unwrapping happens.
  6. @foxik

    Use 0 and 0x55555555 to distinguish constructors of Maybe and Either.

    foxik authored
    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.
  7. @foxik
Commits on May 10, 2012
  1. @foxik

    Use FNV-1 hash instead of Bernstein hash.

    foxik authored
    Also, add prefix "hashable_" to the name of the C implementation of FNV
    hash, so that it would not conflict with other symbols.
  2. @foxik
  3. @foxik

    Reformating.

    foxik authored
    * Split and comment dependencies for byteArray#, Integer and ThreadId
    
    * Move ThreadId instance to better place, it was in between string and
      text instances.
  4. @foxik
  5. @foxik

    Add faster Hashable instance for Integers using integer-gmp.

    foxik authored
    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#.
Commits on Feb 14, 2012
  1. @tibbe

    Bump version number to 1.1.2.3

    tibbe authored
Commits on Dec 1, 2011
  1. @tibbe

    Add instance for TypeRep

    tibbe authored
Commits on Oct 29, 2011
  1. @tibbe

    Bump version number to 1.1.2.2

    tibbe authored
Commits on Oct 28, 2011
  1. @mvv
Commits on Oct 19, 2011
  1. @tibbe
Commits on Oct 7, 2011
  1. @tibbe
  2. Fix warnings in Properties

    Austin Seipp authored
  3. Ignore cabal-dev directory

    Austin Seipp authored
Commits on Jul 6, 2011
  1. Bump version

    authored
Commits on Jun 22, 2011
  1. @tibbe
Commits on May 12, 2011
  1. @tibbe

    Bump version number to 1.1.2.0

    tibbe authored
  2. @tibbe

    Update change log

    tibbe authored
  3. @tibbe

    Merge pull request #15 from bos/master

    tibbe authored
    Add instances for Integer and Ratio
Commits on May 11, 2011
  1. Merge 9ae3602 into 7fb69a9

    GitHub Merge Button authored
Something went wrong with that request. Please try again.