1
0
Fork 0
mirror of https://github.com/vbatts/merkle.git synced 2024-12-03 11:35:40 +00:00
Commit graph

20 commits

Author SHA1 Message Date
c5700a9f0d stream_test: shave 2sec off tests 2015-08-16 18:42:40 -04:00
08e311195d stream: adding a benchmark
Based on stdlib's `sha256`. Initial output:
BenchmarkHash8Bytes       100000             20387 ns/op           0.39 MB/s
BenchmarkHash1K    50000             25876 ns/op          39.57 MB/s
BenchmarkHash8K    50000             38836 ns/op         210.94 MB/s
2015-08-16 14:49:58 -04:00
71d35fdc80 stream: add a test for large chunks
checking 512*1024 byte chunks

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-04-09 14:37:39 -04:00
6b706eb39f stream: fix for large chunks
io.Copy() uses a 32*1024 byte chunk size. When a blocksize larger than
this was used, the copy was out of bounds.

https://gist.github.com/philips/b90ed91068930fe85bed

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-04-09 14:12:48 -04:00
bedd7a10ff stream: tests and fix for Reset() 2015-03-31 10:55:25 -04:00
5277ffd66c .: add travis info 2015-03-30 15:32:35 -04:00
8af58a1af9 README.md: whats next 2015-03-30 15:30:38 -04:00
3f104b4e6a .: a bit of presentation and legal 2015-03-30 15:25:38 -04:00
558c5d610d .: golint 2015-03-30 15:20:50 -04:00
3cc77c8073 stream: give access to tree aspects 2015-03-30 15:19:46 -04:00
1959058d6a stream.go: Finishing up Sum() 2015-03-30 15:02:53 -04:00
257ed6dfad stream: Write() is mostly finished 2015-03-26 18:48:33 -04:00
68f4bcde5d stream: first chunk made into a node 2015-03-26 16:46:02 -04:00
fd362c6aa5 progress on a streaming interface 2015-03-25 17:28:17 -04:00
949cec0dce stream.go: starting an interfacing for streaming sums 2015-03-19 17:47:43 -04:00
38913c9117 .: drawing some from bittorrent 2015-03-19 17:20:51 -04:00
a00f78e2e9 doc.go: another req 2015-03-17 17:34:09 -04:00
4ac1701698 doc.go: starting a requirements outline 2015-03-17 17:30:41 -04:00
da81f82e13 .: checksum for an unbalanced tree 2015-03-17 17:27:39 -04:00
205a82f081 .: stub on merkle nodes 2015-03-17 16:45:01 -04:00