summaryrefslogtreecommitdiff
path: root/src/Data/Bitfield.hs
AgeCommit message (Collapse)Author
2013-06-08~ Merge Block and Handshake into Protocol.Sam T
We could provide better api this way. Also this refactoring should reduce compilation time.
2013-06-07~ Fix bitfield encoding.Sam T
2013-06-07~ Use testing flag to hide internals.Sam T
We need some internal functions in tests and benchmarks, so it's better to just use CPP for this.
2013-06-07+ Add tests for bitfield.Sam T
2013-06-06+ Add some tests.Sam T
2013-06-06~ Document bitfield.Sam T
2013-06-02~ Use IntSet instead of ByteString for bitfields.Sam T
There are several reasons for this: * IntSet is stored in ordinary heap, while ByteStrings in pinned memory; * Our IntSet's should be much faster 90% time. (in typical BT client) Hovewer in worst case IntSet is slower, but difference should is not so big. (We should measure this although) * It's pure, tested, error-free and much more convenient. Moreover we have kill a lot of ugly code!
2013-05-20~ Unify export lists.Sam T
2013-05-05~ Move bitfields to Data.Sam T