Commit Graph

222 Commits (653e76aa2635918aeb32416e119c1a27427e8897)

Author SHA1 Message Date
lukechampine bb7bd0036a fully test Split/Join functions 2015-08-08 13:51:11 -04:00
lukechampine 64b705bbf6 fully test Reconstruct function
Well, I can't figure out how to trigger the Invert error.
It may not be possible; need more domain knowledge to be sure.
2015-08-08 13:50:18 -04:00
lukechampine cf985d4451 remove unreachable checkShards case
this case would be caught by shardSize anyway
2015-08-08 13:50:18 -04:00
lukechampine f81ea8daaf fully test Verify function 2015-08-08 13:50:18 -04:00
lukechampine 0238782585 fully test Encode function 2015-08-08 13:50:18 -04:00
lukechampine 10fbe96890 use slice literal 2015-08-06 22:56:32 -04:00
lukechampine 640ab74d9d fully test the New function 2015-08-06 22:47:11 -04:00
lukechampine 5784cfa7ff remove impossible errors 2015-08-06 22:46:27 -04:00
Klaus Post 1b1eb861ea Merge pull request #5 from klauspost/add-travis-tests
Add more Travis CI tests.
2015-06-25 13:31:08 +02:00
klauspost 1a24b22a1a Remove running the executables for now. 2015-06-25 13:24:32 +02:00
klauspost 70e444ba0c Add more Travis CI tests. 2015-06-25 13:18:12 +02:00
klauspost cfcc65d387 Merge branch 'master' of https://github.com/klauspost/reedsolomon 2015-06-24 16:57:59 +02:00
klauspost dc9cd67c8c PSHUFB is S(upplemental)-SSE3, not plain SSE3. 2015-06-24 16:57:38 +02:00
Klaus Post aac3caed38 Merge pull request #2 from pjkundert/fix-dataShards
Correct reference to dataShards
2015-06-23 20:56:26 +02:00
Perry Kundert 2206637dc6 Correct reference to dataShards 2015-06-23 10:49:15 -06:00
klauspost d31049df42 Add another example that shows that sets can be xor'ed and still remain valid. 2015-06-23 14:35:16 +02:00
klauspost 8ebf356efb The number of data shards must be below 257. Check that and update documentation. 2015-06-23 13:39:57 +02:00
klauspost 5c2ef3ae72 Always check/return errors. 2015-06-23 12:16:26 +02:00
klauspost 888c57c889 Merge branch 'master' of https://github.com/klauspost/reedsolomon 2015-06-23 11:19:16 +02:00
klauspost 7381e0b7b5 - Only run multiple goroutines if size is bigger than splitsize.
- Update docs
2015-06-23 11:18:29 +02:00
Klaus Post 6350190f56 Update README.md 2015-06-22 18:36:27 +02:00
klauspost 6861078d3b Add more information to example. 2015-06-22 15:52:10 +02:00
klauspost 0cb21eccc5 Rename example function. 2015-06-22 15:48:52 +02:00
Klaus Post 2e004190cc Update README.md 2015-06-22 15:47:16 +02:00
klauspost 99a598f7cd Merge branch 'master' of https://github.com/klauspost/reedsolomon 2015-06-22 15:44:43 +02:00
klauspost 7794948a5b Add split/merge example. 2015-06-22 15:44:22 +02:00
Klaus Post b52b6b42b1 Update README.md 2015-06-22 15:18:35 +02:00
Klaus Post 9eb924a6c3 Update README.md 2015-06-22 15:16:01 +02:00
Klaus Post 4cd5506bcf Update README.md 2015-06-22 15:15:12 +02:00
Klaus Post 95bed75738 Update README.md 2015-06-22 15:14:22 +02:00
klauspost 83703c37ac Add package documentation and clarify interface docs. 2015-06-22 15:12:05 +02:00
klauspost 0af140f0cf Data shards, not parity shards. 2015-06-22 14:59:24 +02:00
Klaus Post 80b3249f9c Update README.md 2015-06-22 14:56:21 +02:00
Klaus Post 159cea6f93 Update README.md 2015-06-22 14:55:05 +02:00
klauspost 9961a099a9 Add simple examples.
The examples mimic the functionality of the examples of the JavaReedSolomon library.
2015-06-22 14:48:47 +02:00
klauspost 1d6cefa204 Test array multiply. 2015-06-22 13:05:29 +02:00
Klaus Post 535c29bffe Merge pull request #1 from klauspost/add-usage-readme
Update README.md
2015-06-22 12:36:37 +02:00
Klaus Post bab085de71 Update README.md 2015-06-22 12:35:51 +02:00
Klaus Post 1b2f439221 Update README.md 2015-06-22 12:15:33 +02:00
Klaus Post 2ed146b387 Update README.md 2015-06-22 12:03:17 +02:00
Klaus Post c7a0c49be7 Update README.md 2015-06-22 12:00:36 +02:00
Klaus Post c2ac7bc8d8 Update README.md 2015-06-22 10:59:51 +02:00
Klaus Post 95e8a617e6 Update README.md 2015-06-22 10:28:18 +02:00
Klaus Post 1daee98410 Update README.md 2015-06-21 23:11:44 +02:00
Klaus Post 4e921cee7b Update performance. 2015-06-21 23:10:40 +02:00
Klaus Post f1c2cf4160 Don't use assembler on app engine. 2015-06-21 22:54:13 +02:00
Klaus Post 1388bd44c4 Remove comma. Apparently that is a problem on Go tip. 2015-06-21 21:27:32 +02:00
Klaus Post 5aa37c3492 Add AMD64 SSE3 Galois multiplication. Approximately 5-10x faster.
BenchmarkEncode10x2x10000         333.31       5827.17      17.48x
BenchmarkEncode10x2x10000-2       431.20       2802.53      6.50x
BenchmarkEncode10x2x10000-4       553.98       2432.95      4.39x
BenchmarkEncode10x2x10000-8       585.79       3469.61      5.92x
BenchmarkEncode100x20x10000       32.59        583.40       17.90x
BenchmarkEncode100x20x10000-2     59.52        726.70       12.21x
BenchmarkEncode100x20x10000-4     108.04       1363.25      12.62x
BenchmarkEncode100x20x10000-8     113.76       1274.62      11.20x
BenchmarkEncode17x3x1M            215.28       3141.85      14.59x
BenchmarkEncode17x3x1M-2          398.76       3650.12      9.15x
BenchmarkEncode17x3x1M-4          655.32       6071.11      9.26x
BenchmarkEncode17x3x1M-8          832.16       6616.47      7.95x
BenchmarkEncode10x4x16M           154.48       1357.30      8.79x
BenchmarkEncode10x4x16M-2         295.62       2377.92      8.04x
BenchmarkEncode10x4x16M-4         529.89       3519.49      6.64x
BenchmarkEncode10x4x16M-8         632.11       4521.90      7.15x
BenchmarkEncode5x2x1M             327.87       4879.09      14.88x
BenchmarkEncode5x2x1M-2           576.11       2599.20      4.51x
BenchmarkEncode5x2x1M-4           1043.65      3559.12      3.41x
BenchmarkEncode5x2x1M-8           1227.77      4255.34      3.47x
BenchmarkEncode10x2x1M            321.24       4574.68      14.24x
BenchmarkEncode10x2x1M-2          587.73       3100.28      5.28x
BenchmarkEncode10x2x1M-4          1101.96      4770.32      4.33x
BenchmarkEncode10x2x1M-8          1217.08      5812.17      4.78x
BenchmarkEncode10x4x1M            155.34       2037.27      13.11x
BenchmarkEncode10x4x1M-2          298.38       2470.97      8.28x
BenchmarkEncode10x4x1M-4          548.67       3603.15      6.57x
BenchmarkEncode10x4x1M-8          625.23       4827.42      7.72x
BenchmarkEncode50x20x1M           31.37        347.65       11.08x
BenchmarkEncode50x20x1M-2         59.81        713.28       11.93x
BenchmarkEncode50x20x1M-4         105.34       1175.47      11.16x
BenchmarkEncode50x20x1M-8         123.84       1491.91      12.05x
BenchmarkEncode17x3x16M           209.55       1861.59      8.88x
BenchmarkEncode17x3x16M-2         394.19       3331.73      8.45x
BenchmarkEncode17x3x16M-4         643.30       4942.74      7.68x
BenchmarkEncode17x3x16M-8         839.64       6213.43      7.40x
2015-06-21 21:23:22 +02:00
Klaus Post 619e2b7d65 Add benchmark with 17 data shards and 3 parity shards with 16MB each, and correct comments. 2015-06-21 17:07:17 +02:00
Klaus Post 17e9fa30f0 Add Join function for join data shards. 2015-06-21 13:25:12 +02:00