Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 27, 2010
  1. @jlouis

    Invert a predicate function in SenderQ.

    jlouis authored
    The inversion corrects the behavior of SenderQRequestPrune messages.
  2. @jlouis

    Fix Parser errors in Fast Extension.

    jlouis authored
    Missed Decimal/Hex distinction for some reason.
  3. @jlouis

    Improve the Wire Protocol.

    jlouis authored
    We now greedily eat a byte and then we switch on that byte in the parse.
    TODO: Find out if cereal would benefit from this :)
  4. @jlouis
  5. @jlouis
  6. @jlouis

    Implement the Fast Extension.

    jlouis authored
    The fast extension is implemented by means of a Last Monoid of things to
    do when messages arrive at the Peer. The Monoid enables a mix'n'match
    style messaging where any combination is usable.
  7. @jlouis

    More SCCs added.

    jlouis authored
  8. @jlouis

    When picking pieces, limit the amount of work.

    jlouis authored
    Rather than blindly picking pieces all the way down, we now have a limit
    to how many we pick and select randomly amongst. It makes a lot of
    sense, since nearly completed torrents will spend a lot of time in the
    pick loop.
Commits on Apr 26, 2010
  1. @jlouis

    Make grabBlocks more strict.

    jlouis authored
  2. @jlouis

    Limit allocation in PieceMgr.tryGrabPending.

    jlouis authored
    By making PendingSet.pick work in the IO monad, we can get rid of a
    couple of freezes and thus limit the allocation a bit.
Commits on Apr 25, 2010
  1. @jlouis

    Corrent a typo mistake.

    jlouis authored
  2. @jlouis
Commits on Apr 22, 2010
  1. @jlouis
  2. @jlouis
  3. @jlouis
  4. @jlouis
  5. @jlouis
  6. @jlouis

    Update BEP support statement.

    jlouis authored
  7. @jlouis
  8. @jlouis
  9. @jlouis

    Quell warnings in the FS code.

    jlouis authored
Commits on Apr 20, 2010
  1. @jlouis

    Use the incremental features of Attoparsec.

    jlouis authored
    Attoparsec can parse a stream incrementally. Use this in the receiver
    process. Preliminary guesses shows a fall in the number of read calls to
    the operating system. In particular, we dropped the rate from from one
    call per 900 bytes to one call per 1500 bytes.
  2. @jlouis
  3. @jlouis

    Make the bitfield strict.

    jlouis authored
  4. @jlouis
Commits on Apr 19, 2010
  1. @jlouis
  2. @jlouis

    Optimize the expensive path in the PieceMgr.

    jlouis authored
    The change eliminates a lot of copying each time the PieceMgr is asked
    to grab new pieces for a client. Due to some rather simple assumptions,
    we needed to copy the PieceSets, which are really array copies. This
    amounts to quite some copies over time.
Commits on Apr 18, 2010
  1. @jlouis

    Say hello to the v0.2.3 series.

    jlouis authored
  2. @jlouis
Commits on Apr 17, 2010
  1. @jlouis
  2. @jlouis

    Cleanup TODO.

    jlouis authored
  3. @jlouis

    Bump to v0.2.2.

    jlouis authored
  4. @jlouis

    Kill all uses of forever.

    jlouis authored
    This plugs a lot of space leaks in the client and most processe now run
    in constant space as we would expect.
  5. @jlouis
  6. @jlouis

    Work around two space leaks.

    jlouis authored
Something went wrong with that request. Please try again.