Commit Graph

464 Commits

Author SHA1 Message Date
Christopher Berner
c59a33343c Release version 1.5.0 2020-10-16 22:50:59 -07:00
Christopher Berner
fd4813236c Pin version of cargo-deny 2020-10-16 22:15:10 -07:00
Jonathan Nilsson
a788b14bac Remove some clones and removed some allocations 2020-10-16 22:03:36 -07:00
Christopher Berner
dbbcf16efd Document required Rust version 2020-09-29 20:03:47 -07:00
Christopher Berner
57bbcdb673 Improve formating and completeness of Errata 2 proof 2020-09-13 17:42:12 -07:00
Christopher Berner
95b6b5ae91 Make serde support optional 2020-08-30 09:39:39 -07:00
Christopher Berner
3ae2f9fa6e Upgrade to pyo3
This removes the dependency on nightly for building python bindings
2020-08-29 21:23:40 -07:00
Christopher Berner
6330f94c4c Simplify multiplication table initialization
Replace unrolled loops with const fn while which is new in Rust 1.46
2020-08-29 21:23:40 -07:00
Christopher Berner
92ac710111 Bump version to 1.4.2 2020-06-23 21:25:45 -07:00
Christopher Berner
6502e79b0f Remove broken deps_rs badge 2020-06-23 21:25:45 -07:00
Christopher Berner
f8240da5b5 Fix incorrect symbol calculation assertion 2020-06-23 21:07:16 -07:00
Christopher Berner
dca2ad8b7c Fix Clippy warnings 2020-06-23 20:50:03 -07:00
Christopher Berner
e08c78a800 Avoid allocating excess memory 2020-05-07 10:16:43 -07:00
Christopher Berner
48a9dcc2c0 Remove dead code 2020-05-07 10:16:43 -07:00
Christopher Berner
a3a199085e Bump version to 1.4.1 2020-03-28 14:54:37 -07:00
Christopher Berner
0973b5970d Add PyPi badge to README 2020-03-28 14:53:34 -07:00
Christopher Berner
97aa0b5003 Fix crash in Decoder when decoding large numbers of blocks 2020-03-28 14:53:34 -07:00
Christopher Berner
414a02eb4b Bump version to 1.4.0 2020-03-21 23:17:21 -07:00
Christopher Berner
88a9d6d582 Fix Clippy style warning 2020-03-20 23:32:45 -07:00
Christopher Berner
642396b9b5 Update to latest pyo3 2020-03-20 23:32:45 -07:00
Christopher Berner
69246f50b1 Add public function to calculate object to block splits 2020-03-20 22:58:09 -07:00
Christopher Berner
5532c6e5bd More complete metadata for maturin 2020-03-14 10:38:42 -07:00
Christopher Berner
7f9a627f08 Bump version to 1.3.1 2020-03-14 08:39:57 -07:00
Christopher Berner
7847099cd7 Fix source block numbering with uneven blocks
This fixes a critical bug where blocks with ids after ZL, see section
4.4.1.2. in RFC, were incorrectly numbered during encoding
2020-03-14 08:38:52 -07:00
Christopher Berner
e12085c195 Add assertation from RFC to parameter calculation 2020-03-14 08:38:52 -07:00
Christopher Berner
a5ec4cffe1 Pin nightly Rust version used by Travis maturin tests 2020-03-12 23:20:45 -07:00
Christopher Berner
a209748702 Update Makefile to publish Python package for all recent 3.x versions 2020-03-12 23:20:45 -07:00
Christopher Berner
70c7987d39 Update instructions for building with Maturin 2020-03-11 09:24:05 -07:00
Christopher Berner
2923066242 Update version to 1.3.0 2020-03-05 18:36:13 -08:00
Christopher Berner
329598c48b Implement sub block support 2020-02-25 22:50:29 -08:00
Christopher Berner
26e8b0e509 Add EncoderBuilder to allow more configuration of encoding 2020-02-24 19:09:23 -08:00
Christopher Berner
82f9ee9d5b Always use nightly toolchain for maturin 2020-02-22 15:27:29 -08:00
Christopher Berner
2a1d506829 Bump version to v1.2.1 2020-02-22 14:59:30 -08:00
Christopher Berner
04149b42ff Fix max length assertion
The maximum value in RFC6330 of 946270874880 is incorrect as
documented in errata id 5548
2020-02-22 14:36:06 -08:00
Christopher Berner
6eeeb67f70 Merge Python wrapper crate into main crate 2020-02-22 13:31:16 -08:00
Christopher Berner
f8b3ccd28e Fix Python wrapper tests 2020-02-15 11:09:19 -08:00
Christopher Berner
4d7bd86b7a Replace lichking with cargo-deny 2020-02-15 11:09:19 -08:00
Christopher Berner
62671df23f Release version 1.2.0 2020-02-03 09:10:47 -08:00
Christopher Berner
9a46e91f9c Set 'nice' on extended tests
This avoids monopolizing the CPU, since these tests use many threads and
run for hours
2020-02-02 11:55:26 -08:00
Christopher Berner
29131bb4d2 Parallelize repair tests 2020-02-02 10:50:28 -08:00
Christopher Berner
f9edd667dc Remove unused dbg! invocation 2020-01-26 21:41:21 -08:00
Christopher Berner
f796c55332 Remove unnecessary Vec allocation 2020-01-26 21:41:21 -08:00
Christopher Berner
7d29fd95ef Remove outdated TODOs 2020-01-26 21:41:21 -08:00
Christopher Berner
9d4675e428 Update benchmark results with pre-planned encoding 2020-01-26 11:54:38 -08:00
Christopher Berner
c244828d71 Various minor refactorings 2020-01-26 10:15:56 -08:00
Christopher Berner
ec54f3c838 Replace SourceBlockEncoderCache with SourceBlockEncodingPlan 2020-01-26 10:15:56 -08:00
Anders Martinsson
04786d26fd Add operation vectors for better encoding performance
Using stored operation vectors when generating intermediate symbols make
encoding around three times faster (depends on block size).

Signed-off-by: Anders Martinsson <anders.martinsson@intinor.se>
2020-01-26 10:15:56 -08:00
Anders Martinsson
bdf5627e4c Add SSSE3 SIMD implementation
Add SSSE3 support to be used if AVX2 support is missing and SSSE3 is available.

Signed-off-by: Anders Martinsson <anders.martinsson@intinor.se>
2020-01-21 13:42:48 +01:00
Christopher Berner
b503ea79d8 Update benchmarks with 1.1.0 results
Approximately 1.5x faster for symbol counts over 250, and 2x faster over
5k symbols
2020-01-19 11:52:35 -08:00
Christopher Berner
a0d5f0b30c Version 1.1.0 2020-01-19 11:10:46 -08:00