Commit Graph

698 Commits

Author SHA1 Message Date
Harendra Kumar
ad91b86054 Fix spellings 2022-04-25 17:13:19 +05:30
Harendra Kumar
9529890daa Add default.nix for building with nix 2022-04-25 01:15:17 +05:30
Adithya Kumar
fd9379c1b9 Use the haskellified version of bench-report 2022-04-24 16:26:36 +05:30
Ranjeet Kumar Ranjan
a849812d99 Maintain a list of top w elements in the stream 2022-04-22 19:55:41 +05:30
Harendra Kumar
02578386da Use the demux input to determine the fold
We may want to use the entire value to determine the fold and not just
the key. For example, we may have the key as an Int that uniquely
determines the fold (for example a connection/request id). Once the
fold starts we can always lookup the fold using this key. However, to
determine what fold to use initially we may need more information than
just the request-id (e.g. the type of the message).
2022-04-11 18:41:37 +05:30
Adithya Kumar
5b135b5bfe Symlink a few moved dev files 2022-04-11 01:16:09 +05:30
Adithya Kumar
72a0199c67 Move the README of benchmarks and tests into the developer docs 2022-04-11 01:16:09 +05:30
Adithya Kumar
6f3371e656 Move dev/* (developer docs) into docs/Developer/* 2022-04-11 01:16:09 +05:30
Harendra Kumar
800ae8a8f8 Use monadic action to generate fold in demux* 2022-04-06 17:43:15 +05:30
Ranjeet Kumar Ranjan
d31f3329f1 Rename some unfold APIs 2022-04-06 17:41:47 +05:30
Harendra Kumar
ba05f939b9 Use explicit buckets in classifySessions benchmarks
Terminate the session fold after 10 elements
2022-04-02 03:32:42 +05:30
Harendra Kumar
e0ad726fbd Fix generic Map support for classifySessionsBy 2022-04-02 03:32:42 +05:30
Harendra Kumar
2ebed4d2fe Make Map generic version of classifySessionsBy 2022-04-02 03:32:42 +05:30
Harendra Kumar
6b2f1c1669 Change demux fold APIs and implementations 2022-04-02 03:32:42 +05:30
Ranjeet Kumar Ranjan
a6f041cdc7 Add scanMany to Fold
use Fold instead Refold

remove redundant imports

Fix review comments

code refactor

Fix benchmark

Fix indent
2022-03-31 01:04:56 +05:30
Harendra Kumar
1a76a06654 Make classifyWith work with IsMap 2022-03-27 03:01:57 +05:30
Harendra Kumar
d78715ce45 Update classify benchmarks
* Move to o-n-heap group
* Add more benchmarks with different bucket sizes
2022-03-26 15:03:58 +05:30
Harendra Kumar
e078bae64a Allow different types of Map in classify
IntMap and HashMap can provide better performance than Map.

Also, allow mutable cells in classify for better performance.
2022-03-26 01:32:51 +05:30
Adithya Kumar
a0a228196c Add unfoldMany to Data.Fold 2022-03-25 15:22:14 +05:30
Ranjeet Kumar Ranjan
3a59974ed8 Rename unfold scan to postscan, add benchmark, test 2022-03-25 15:18:27 +05:30
Ranjeet Kumar Ranjan
af68c08a71 Rename some filesystem APIs 2022-03-25 14:04:00 +05:30
Harendra Kumar
0eadd04ada Add doc, powersums and mean
Rename "whole" to "cumulative"
2022-03-25 12:33:58 +05:30
Ranjeet Kumar Ranjan
f95fcbd82f Add a module for sliding window folds
Moved some basic incremental folds from 'streamly-statistics" package.
2022-03-25 12:33:58 +05:30
Ranjeet Kumar Ranjan
e01bc90866 Implement Array modifyIndices may accept index as argument 2022-03-25 00:21:28 +05:30
Ranjeet Kumar Ranjan
6726613bca Remove the Sink module 2022-03-25 00:12:48 +05:30
Ranjeet Kumar Ranjan
7886e14505 Add benchmark for MArray.modifyIndices 2022-03-24 15:36:08 +05:30
Harendra Kumar
cc7ac6cad9 Remove remaining code meant for GHC < 8.4 2022-03-24 02:24:27 +05:30
Ranjeet Kumar Ranjan
07bf70d5f8 Drop GHC 8.x to 8.2.x Support 2022-03-24 02:23:45 +05:30
Harendra Kumar
ddfe6bd538 Add a "foldFilter" combinator to serial streams 2022-03-23 00:59:02 +05:30
Harendra Kumar
8dabc2ec8a Add a "foldFilter" combinator for folds 2022-03-23 00:54:53 +05:30
Harendra Kumar
62fe488ac1 Add foldMany to unfolds 2022-03-23 00:43:15 +05:30
Ranjeet Kumar Ranjan
3012ae95e5 Change the argument order of Unfold.many 2022-03-19 11:49:15 +05:30
Harendra Kumar
5e7fb870a6 Change classifyWith to work with scans 2022-03-14 11:47:42 +05:30
Harendra Kumar
b8b410d23d Simplify array strip, improve perf 2022-03-14 02:30:18 +05:30
Ranjeet Kumar Ranjan
faabb9a01f Add mutable array "strip" operation 2022-03-14 02:29:41 +05:30
Ranjeet Kumar Ranjan
4b49390286 Fix uniqBy and rollingMap
Fix hlint

Fix review comments

Add Functor contraint

Fix review comments
2022-03-11 13:46:05 +05:30
Ranjeet Kumar Ranjan
f31f28c0d8 Move toParserK and fromParserK routines from ParserK to the ParserD module 2022-03-11 13:38:17 +05:30
Adithya Kumar
fe8e57968a Merge PreludeCommon and Prelude into Common in the core package 2022-03-10 23:47:56 +05:30
Adithya Kumar
29ba5decc5 Extract streamly-core out of streamly 2022-03-10 01:25:49 +05:30
Adithya Kumar
22e8ad3b99 Change the signature order for Foreign.getIndex 2022-03-07 03:54:51 +05:30
Ranjeet Kumar Ranjan
f30eafd440 Add -Wmissing-export-lists flag 2022-03-01 13:41:50 +05:30
Adithya Kumar
cdd6228350 Remove the version bound of streamly in streamly-benchmarks 2022-02-26 21:21:17 +05:30
Adithya Kumar
efd41db1b8 Add writeCharUtf8' and parseCharUtf8With along with benchmarks 2022-02-12 08:13:40 +05:30
Adithya Kumar
3cdb718b95 Make all the links in md docs absolute to the repo root 2022-02-12 01:20:40 +05:30
Harendra Kumar
ec20f5fdff Fix/simplify intersectBySorted
* Remove MonadIO and Eq constraints
* Simplify implementation
* Simplify tests
* Fix formatting
* Use longer benchmarks
2022-02-10 17:22:28 +05:30
Ranjeet Kumar Ranjan
160393c8e0 Implement intersectBySorted API 2022-02-10 14:47:01 +05:30
Adithya Kumar
185b43d657 Fix simple warnings in bench-report 2022-02-09 06:07:44 +05:30
Adithya Kumar
6b655d996b Update the nix file 2022-02-09 06:07:44 +05:30
Adithya Kumar
8ab2bfd280 Fix broken links in multiple markdown doc files
- README
- docs/unified-abstractions.md
- docs/getting-started.md
- docs/streamly-vs-async.md
- docs/Overview.md
- docs/faq.md
- CONTRIBUTING.md
- benchmark/README.md
2022-02-07 03:56:53 +05:30
Adithya Kumar
b4afc1c7ec Add help text to work with unicode files 2022-02-06 06:03:53 +05:30