summaryrefslogtreecommitdiff
path: root/tests/Encoding.hs
AgeCommit message (Collapse)Author
2013-06-07~ Fix bug in torrent bencode instance.Sam T
Also add encoding tests for torrent module.
2013-06-07+ Add tests for bitfield.Sam T
2013-06-06+ Add some tests.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-25~ Use PortNumber instead of Word16 in Port message.Sam T
2013-05-05~ Move bitfields to Data.Sam T
2013-05-03+ Add initial tests for bitfields.Sam T