Harendra Kumar
98d3ea9d27
Add stream generation functions to Data.Stream
2022-08-09 01:07:40 +05:30
Ranjeet Kumar Ranjan
b528bae8ce
Add Timed API for stream generations
2022-08-08 19:41:12 +05:30
Harendra Kumar
4bb8b7c950
Add fromByteStr# and fromStr#
...
Routines to generate byte/char streams from Haskell string literals.
2022-08-08 02:10:44 +05:30
Ranjeet Kumar Ranjan
64512cec06
Add api to generate Stream from memory Address
2022-08-07 13:31:16 +05:30
Harendra Kumar
9ed94a6a09
Implement many2, map2
...
* crossWith and many can be implemented in terms of many2
* rename mapmWithInput to mapM2
* add map2
2022-08-07 13:25:40 +05:30
Harendra Kumar
07eb3038f5
Enable hlint on streamly-core package
...
Remove non-existing files from .hlint.ignore
Add streamly-core files that are hlint clean to .hlint.ignore
2022-08-06 23:16:43 +05:30
Harendra Kumar
f5ef71303e
Merge pull request #1751
2022-08-06 23:15:28 +05:30
Harendra Kumar
bfb1624a57
Add more Prelude.Serial benchmarks to Data.Stream
...
And refactor for simplification and code-reuse.
2022-08-06 19:59:01 +05:30
Ranjeet Kumar Ranjan
8fbc085ef4
Move Prelude.Serial benchmarks to Data.Stream
2022-08-06 16:43:53 +05:30
Harendra Kumar
d2aaef0004
Merge pull request #1696 from composewell/Rename_Storable_constraint_Unboxed
...
Rename Storable constraint to Prim
2022-08-06 16:27:43 +05:30
Harendra Kumar
df56bd6abe
Remove Storable aliased to Unboxed
2022-08-06 13:26:09 +05:30
Ranjeet Kumar Ranjan
2e21c3a76f
Rename Storable constraint to Unboxed
2022-08-06 13:23:10 +05:30
Harendra Kumar
aac1526f8b
Import Array.Unboxed instead of Array.Foreign
...
Fix broken build.
2022-08-06 00:54:38 +05:30
Ranjeet Kumar Ranjan
26b78c6e89
Deprecate Streamly.Data.Array.Foreign module
...
Rename it to Streamly.Data.Array.Unboxed
2022-08-06 00:38:23 +05:30
Ranjeet Kumar Ranjan
53cce5e7ac
Implement Data.Stream.Top module
2022-08-06 00:32:10 +05:30
Harendra Kumar
1cd4379d01
Remove dependency on hashable/unordered-containers
2022-08-02 14:35:49 +05:30
Adithya Kumar
1f412fe087
Remove Prim based benchmarks from the regression checking CI
2022-08-01 10:38:33 +05:30
Adithya Kumar
614c226eac
Rename IORef.Prim to IORef.Unboxed
2022-08-01 10:38:33 +05:30
Ranjeet Kumar Ranjan
4a2d68d08a
Replace IsStream functions with Stream exports
2022-07-31 13:03:26 +05:30
Ranjeet Kumar Ranjan
3dc72698cf
Replace SerialT with Stream
2022-07-31 02:48:10 +05:30
Adithya Kumar
d58ebdc7b3
Replace Prim with Unboxed in Data.IORef
2022-07-31 02:43:44 +05:30
Adithya Kumar
4015d54128
Remove prim arrays and all related code
2022-07-31 02:43:44 +05:30
Adithya Kumar
adce8d0048
Add combinators to pin and unpin foreign arrays
2022-07-31 01:03:31 +05:30
Adithya Kumar
3d8ffee684
Fix the test case for Parser.takeFramedByEsc_
2022-07-27 17:43:18 +05:30
Adithya Kumar
93cc79d156
Add a small no-linking hack to make the GHC 902 CIs pass
...
See https://github.com/composewell/streamly/issues/1727
2022-07-27 17:24:59 +05:30
Adithya Kumar
3811e683ce
Improve array combinators to work with unpinned arrays
2022-07-27 17:24:59 +05:30
Ranjeet Kumar Ranjan
eb586c081c
Implement SerialT in terms of Stream
2022-07-27 15:53:08 +05:30
Adithya Kumar
0706ac07a9
Fix the timer tick in chunksOfTimeout
2022-07-26 15:58:31 +05:30
Harendra Kumar
2d8c7762bf
Use left folds in all stream elimination ops
2022-07-21 02:06:03 +05:30
Harendra Kumar
8dfcadfd9b
Implement findM fold
2022-07-20 01:53:37 +05:30
Harendra Kumar
c366e2d5e2
Use unfolds in all stream generation ops
...
Based on a build flag. We want to benchmark how these operations perform
when unfolds are used. This is to investigate if we can replace these
ops with just unfolds or implement these in terms of unfolds to improve
modularity.
Increase memory for Split benchmarks for use-unfolds flag.
2022-07-19 02:45:34 +05:30
Harendra Kumar
fab76f2dc8
Increase runtime heap for Unicode.Char benchmarks
2022-07-18 16:44:17 +05:30
Harendra Kumar
be6cadb442
Remove Prim and Small ararys from bench targets
2022-07-18 16:01:38 +05:30
Harendra Kumar
00f5d9f42d
Use the SPEC argument on all recursive cases
2022-07-18 14:46:56 +05:30
Harendra Kumar
bc49c3d731
Fix fusion issue in multi-stream folds
...
Fix fusion issue in isSubsequenceOf, isPrefixOf, stripPrefix, the
2022-07-18 13:29:18 +05:30
Harendra Kumar
efa19570f8
Allow base-4.17, ghc-9.4
...
Increase benchmark memory for ghc-9.5
2022-07-18 12:48:01 +05:30
Harendra Kumar
d0ed396d11
Add some missing benchmark modules to hie.yaml
2022-07-18 01:48:16 +05:30
Harendra Kumar
418fd465fc
Update bench-runner's default.nix file
2022-07-18 01:39:40 +05:30
Adithya Kumar
14ee0b7036
Add Data.Ring.Unboxed to targets
2022-07-11 18:51:43 +05:30
Adithya Kumar
6273643c2d
Add benchmarks for unboxed ring array
2022-07-11 18:51:43 +05:30
Adithya Kumar
aaa279c9b2
Add tests for unboxed ring array
2022-07-11 18:51:43 +05:30
Adithya Kumar
c361a315e3
Add some test cases for unboxed array
2022-07-08 16:51:03 +05:30
Harendra Kumar
71b0c0dd39
Refactor "the", "nub", add nubInt
...
Express countDistinct and countDistinctInt in terms of nub/nubInt
2022-07-05 15:03:45 +05:30
Ranjeet Kumar Ranjan
323d3382d0
Implement "the" as a Fold
2022-07-05 14:54:42 +05:30
Harendra Kumar
fe597c2339
Add the "frequency" fold
2022-07-05 14:27:54 +05:30
Harendra Kumar
0f951fb3fb
Refactor "nub", rename it to "frequency"
2022-07-05 14:27:54 +05:30
Ranjeet Kumar Ranjan
40a4bbc993
Implement nub in Fold.Window module
2022-07-04 23:30:02 +05:30
Harendra Kumar
812fe4cec2
Update the documentation of 'minimum'
2022-07-04 23:16:49 +05:30
Ranjeet Kumar Ranjan
cdfda9b500
Change pollCount signature
2022-07-04 18:04:52 +05:30
Ranjeet Kumar Ranjan
8ac1ad15c2
Implement nub as Fold
2022-07-04 17:55:33 +05:30