Ranjeet Kumar Ranjan
41c77860f4
Fix up
2023-08-21 12:35:16 +05:30
Ranjeet Kumar Ranjan
2a8c658b14
Fix up
2023-08-21 11:41:57 +05:30
Ranjeet Kumar Ranjan
b1db3f74e1
Fix werror
2023-08-21 11:41:57 +05:30
Ranjeet Kumar Ranjan
77f0e2857a
Expose chunksOf from the array modules instead of Stream
2023-08-21 11:41:54 +05:30
Adithya Kumar
bfe0169024
Simplify Serialize benchmarking code
2023-08-21 01:45:06 +05:30
Harendra Kumar
4dbdf477a8
Remove the alloc cost from poke op
...
For better comparison with peek cost.
Also now there are two versions of poke benchmarks, one including the
getSize cost and the other without to figure out how much overhead
getSize adds, because the cost may be nothing if it is dominated by
cache miss costs.
2023-08-21 01:45:06 +05:30
Harendra Kumar
4fdc8360ff
Include the size/alloc op costs in poke/roundtrip
2023-08-21 01:45:06 +05:30
Harendra Kumar
da249d8fd1
Move out code from CPP macro to Haskell
2023-08-21 01:45:06 +05:30
Harendra Kumar
d09a236c93
Add a TODO comment about checking bounds
2023-08-21 01:45:06 +05:30
Harendra Kumar
356eab0590
Add some explanatory comments in Serialize TH code
2023-08-21 01:45:06 +05:30
Harendra Kumar
31a679a7d9
Add array boundary checks during serialization
2023-08-21 01:45:06 +05:30
Harendra Kumar
f7f42e0242
Improve "size" op performance in Serialize
...
By using tail-recursive traversal of the structures.
2023-08-21 01:45:06 +05:30
Harendra Kumar
8b18616dba
Add Data.Serialize to targets
2023-08-21 01:45:06 +05:30
Ranjeet Ranjan
1c584e545a
Move StreamK and StreamD folder up ( #2543 )
2023-08-19 15:38:58 +05:30
Harendra Kumar
e2d5628204
Enable asserts only after the -O2 option
2023-08-19 15:21:45 +05:30
Harendra Kumar
a819eb7e5d
Add some module level notes to ToBytes
2023-08-19 07:54:08 +05:30
Adithya Kumar
2e53b60161
Increase memory for limit-build-mem on the Serialize test-suite
2023-08-18 23:07:50 +05:30
Adithya Kumar
041be85bb8
Limit number of tests in large quick check properties
2023-08-18 23:07:50 +05:30
Adithya Kumar
4997b47fe1
Add a recursive ADT to the Serialize test-suite
2023-08-18 23:07:50 +05:30
Adithya Kumar
9be03c89a6
Move functions from Data.Serialize to Data.Internal.Serialize
2023-08-18 23:07:50 +05:30
Adithya Kumar
c4343a47f7
Abstact size and simplify the CPP statement in Unbox tests
2023-08-18 23:07:50 +05:30
Harendra Kumar
3aba90980d
Add INLINE to default instance methods of Unbox
2023-08-18 23:07:50 +05:30
Harendra Kumar
3a0562a692
Add INLINE pragmas on TH instance methods
2023-08-18 23:07:50 +05:30
Harendra Kumar
52ddfeed9c
Add INLINE pragma on Serialize instances
2023-08-18 23:07:50 +05:30
Harendra Kumar
53aa2044ef
Reuse the Serialize benchmark for Unbox as well
...
And add some more benchmarks.
2023-08-18 23:07:50 +05:30
Harendra Kumar
0efcac2bf7
Add a binary tree benchmark
2023-08-18 23:07:50 +05:30
Harendra Kumar
0957cd6516
Add benchmarks for Serialize module
2023-08-18 23:07:50 +05:30
Adithya Kumar
36be8282d4
Always encode the length in the beginning of serialization
2023-08-18 23:07:50 +05:30
Adithya Kumar
83d25db192
Export more functionality via Streamly.Data.Serialize
2023-08-18 23:07:50 +05:30
Adithya Kumar
8aee4624c9
Rename Streamly.Data.Unbox to Streamly.Data.Serialize
2023-08-18 23:07:50 +05:30
Adithya Kumar
dbf9fe89f1
Add common Serialize deriving tests
2023-08-18 23:07:50 +05:30
Adithya Kumar
c4794aab93
Add tests for the Serialize template haskell deriving
2023-08-18 23:07:50 +05:30
Adithya Kumar
e55662e4df
Add template haskell helpers for deriving Serialize instances
2023-08-18 23:07:50 +05:30
Ranjeet Ranjan
2e8c9ac1fd
Rename unsafeIndex in Array module to getIndexUnsafe ( #2540 )
2023-08-18 15:44:47 +05:30
Adithya Kumar
5322566023
Mk non-functional naming changes for continuation parsers & friends
2023-08-17 15:51:06 +05:30
Adithya Kumar
2e9f0b97fe
Add a changelog entry regarding the ParserK change
2023-08-17 15:51:06 +05:30
Adithya Kumar
7f24c4d352
Add benchmarks for all types of continuation parsers
2023-08-17 15:51:06 +05:30
Adithya Kumar
f5c33b93fb
Comment out Data.FromParserK in benchmarks
2023-08-17 15:51:06 +05:30
Adithya Kumar
4d78dd581f
Add generic chunked version of continuation parsing
2023-08-17 15:51:06 +05:30
Adithya Kumar
dc7a543135
Add chunksOf to generic arrays
2023-08-17 15:51:06 +05:30
Adithya Kumar
4995dc181f
Add singular generic version of continuation parsing
2023-08-17 15:51:06 +05:30
Adithya Kumar
7e761ca91a
Unspecialize the ParserK type
2023-08-17 15:51:06 +05:30
Ranjeet Ranjan
40e89fb39a
Export StreamK/Transformer.hs from StreamK.hs ( #2526 )
2023-08-12 14:37:45 +05:30
Ranjeet Ranjan
4e346939a5
Re-export entire submodules from Pipe ( #2511 )
2023-08-11 15:15:42 +05:30
Ranjeet Ranjan
e6051b17cc
Re-export entire submodules from Producer ( #2514 )
2023-08-11 15:14:25 +05:30
Ranjeet Ranjan
c256c3223e
Re-export entire submodules from MutArray ( #2509 )
2023-08-11 14:58:40 +05:30
Ranjeet Ranjan
96eebafafe
Add window prefix to combinators in Fold.Window module ( #2517 )
2023-08-11 10:17:59 +05:30
Ranjeet Ranjan
8b55b1a03e
Re-export entire submodules from Array ( #2510 )
2023-08-11 10:15:51 +05:30
Ranjeet Kumar Ranjan
971b6680a5
Re-export entire submodules from the StreamK
2023-08-11 01:05:21 +05:30
Ranjeet Kumar Ranjan
cd523f5177
Move Data.Ring.Unboxed to Data.Ring
2023-08-10 13:40:05 +05:30