Commit graph

30 commits

Author SHA1 Message Date
Andrew Martin
f5799e7270 Add wordPaddedDec4 2020-02-12 14:56:32 -05:00
Zankoku Okuno
f8a32ebb1b
Word256 lacunae for big-endian and little-endian output
Implement BE and LE builders for 256-bit words and arrays of 256-bit words.
Test new functions in the test suite.
2020-02-07 09:39:59 -05:00
Andrew Martin
93d3429fe7 Prepare for 0.3.2.0 release 2020-01-20 18:54:43 -05:00
Andrew Martin
71fa47a8ee Move Data.Bytes.Chunks into byteslice 2020-01-15 16:50:24 -05:00
Andrew Martin
c7fcaff97f Add putMany and considate consLength functions 2019-11-22 16:24:48 -05:00
Andrew Martin
4f8ea31b73 Add Data.ByteArray.Builder.Unsafe.fromEffect 2019-11-20 14:30:51 -05:00
Andrew Martin
353a114145 Allow newer byteslice 2019-11-18 14:56:26 -05:00
Andrew Martin
d66a9e6880 add laws tests for Chunks 2019-10-22 20:50:37 -04:00
Andrew Martin
00f437f8cc Add big-endian and little-endian parsers for Word128 2019-10-17 11:26:14 -04:00
Andrew Martin
d94cf3d000 Remove ddump flags from benchmark suite options 2019-10-17 09:46:06 -04:00
Andrew Martin
71568edb50 Add big-endian and little-endian functions for copying a PrimArray of Word{16,32,64} 2019-10-10 09:40:39 -04:00
Andrew Martin
c84f6cbcca Add flush, copy, and insert 2019-10-10 09:10:44 -04:00
Andrew Martin
8baf4cc369
Switch builder implementation to use chunks (#10)
* switch builder implementation to use chunks
* micro-optimize the conditional for builders of length one
* use fromBoundedOne for ascii chars
2019-10-09 16:30:02 -04:00
Andrew Martin
01bf4655e3 add benchmarks for encoding tree data structures 2019-09-22 09:20:03 -04:00
Andrew Martin
cd3631e5fd Add a test for a very simple CSV encoding 2019-09-20 09:23:08 -04:00
Andrew Martin
d52aecdc60 Add consLengthBE32 2019-09-18 11:45:02 -04:00
Andrew Martin
3fb488800d bump version 2019-09-05 09:24:35 -04:00
Andrew Martin
a5bbf88e71 Avoid KnownNat constraints in favor of using Arithmetic.Types.Nat 2019-09-03 14:58:03 -04:00
Andrew Martin
2d1ea68261 Remove the word "Small" from module names. Move unsafe functions into modules suffixed with "Unsafe". Write a better IsString instance. Depend on natural-arithmetic. 2019-09-03 14:43:58 -04:00
Alice McKean
9a14600a38 switch unsafe to bounded + char encoding 2019-09-01 22:43:54 -07:00
Andrew Martin
5d3d6d1afd Add functions for encoding ShortText as UTF-8 and as JSON 2019-08-07 15:23:02 -04:00
Andrew Martin
37aaeac18a Add doubleDec for rendering floating-point numbers 2019-08-05 12:07:02 -04:00
Andrew Martin
7b222c31cf major version bump and modify changelog 2019-08-02 16:28:25 -04:00
Andrew Martin
0c093e0971 remove dump flags 2019-07-30 08:47:45 -04:00
Andrew Martin
a0f71b9b81 bump to 0.1.1.0 for release 2019-07-30 08:43:09 -04:00
Andrew Martin
ac3b03218b add a benchmark 2019-07-05 12:35:05 -04:00
Andrew Martin
f7c42ba6be add functions for big-endian encodings, add functions for decimal representation of signed 64-bit integers 2019-07-03 16:28:36 -04:00
Andrew Martin
5f9ff64a51 clean up cabal file 2019-06-25 17:10:20 -04:00
Andrew Martin
831c25c81a add more features 2019-06-25 15:18:34 -04:00
Andrew Martin
0d63fbc60d Initial commit. The library includes a simple Builder, a Semigroup instance, primitives for running the builder, and a function for decimal-encoding a 64-bit word. There is also a test suite to confirm that it works. 2019-06-17 13:24:24 -04:00