Permalink
Commits on Dec 13, 2011
  1. doc: add some basic usage examples

    committed Nov 23, 2011
  2. Merge pull request #6 from Shimuuar/master

    Drastic performance improvment for uniformR
    bos committed Dec 13, 2011
Commits on Sep 30, 2011
Commits on Sep 29, 2011
  1. 20-40x performance improvements for uniformR for integral times

    It looks like GHC fails to specialize uniformRange despite INLINE
    pragma. This results in horrible 20-40x slowdown. Adding
    SPECIALIZE pragma fixes that
    
    Also accept ranges (a,b) where a<b. It doesn't produce any
    measurable slowdown.
    
    fixes #4.
    Aleksey committed with Shimuuar Sep 28, 2011
Commits on Sep 28, 2011
  1. Add uniformR to benchmarks

    Shimuuar committed Sep 26, 2011
  2. Update some docs.

    bos committed Sep 28, 2011
  3. Merge pull request #5 from Shimuuar/unbox

    Remove Unbox constraint from Variate type class
    bos committed Sep 28, 2011
Commits on Sep 26, 2011
  1. Remove Unbox superclass constraint from Variate type class

    It's not used anywhere and in fact harmful since data types
    which aren't instances of Unbox couldn't be instances of
    Variate which doesn't really make sense.
    
    On GHC6.12 removal of Unbox contraint decreased performance
    significantly ~10x
    
    With GHC7.0 performance in fact slightly improves ~0-25% on
    64bit and <10% for 32bit (It's swamped by slow 64 arithmetics)
    Shimuuar committed Sep 26, 2011
Commits on Sep 20, 2011
Commits on Sep 8, 2011
  1. Run more QC test (10^5 for each test case)

    Also use random seed instad of constant one
    Shimuuar committed Sep 8, 2011
  2. Document dieharder tests

    Shimuuar committed Sep 8, 2011
Commits on Aug 26, 2011
Commits on Aug 24, 2011
  1. QC

    Shimuuar committed Aug 13, 2011
  2. Add diehard test

    Shimuuar committed Aug 13, 2011
Commits on Aug 22, 2011
  1. Bump version

    bos committed Aug 22, 2011
  2. Fix spelling

    bos committed Aug 22, 2011
Commits on Aug 14, 2011
  1. Variate do not have instance for Integer. Remove its description

    from documentation
    Shimuuar committed Aug 14, 2011
  2. Catch exceptions only during seed aquisition.

    It fixes nasty bug in withSystemRandom. If action passed by user
    throws IO exception it will be catched and action will be
    executed second time.
    Shimuuar committed Aug 13, 2011
Commits on Aug 7, 2011
Commits on Jul 24, 2011
  1. Update comment again

    Shimuuar committed Jul 24, 2011
  2. Update comment

    Shimuuar committed Jul 24, 2011
Commits on Jul 23, 2011
  1. merge

    Shimuuar committed Jul 23, 2011
  2. Update comment

    Shimuuar committed Jul 23, 2011
  3. Change initialize so it will try to get index and generator state

    from the seed. It's to ensure that gen' = gen
    
    gen' <- initialize . fromSeed =<< save gen
    Shimuuar committed Jul 23, 2011
  4. Add accessor to Seed to export currect state of generator as

    vector so it could be serialized etc.
    Shimuuar committed Jul 23, 2011
  5. Use generateM for the uniformVector.

    As additional benefit it becomes fusible
    Shimuuar committed Jul 23, 2011
Commits on Jul 22, 2011
  1. Tidy up

    bos committed Jul 22, 2011
  2. Bump version

    bos committed Jul 22, 2011