Harendra Kumar
0569ab5d64
Add unsafe array read without bound check
2019-11-24 03:07:08 +05:30
Harendra Kumar
41e9492956
Add headElse
2019-11-23 17:03:42 +05:30
Harendra Kumar
35ba2c3279
Short circuit Skip case in toStreamK
...
When fusion does not occur due to conversion to StreamK, the Skip constructor
being threaded around StreamK can cause a lot of performance degradation. Skip
case is of no use to StreamK.
This improved the performance of fasta benchmark from 7 secs to 2.8 secs.
Code change suggested by Pranay Sashank.
2019-11-23 07:26:02 +05:30
Harendra Kumar
d0896e1474
Add comments explaining how "parallel" works
2019-11-23 04:14:26 +05:30
Harendra Kumar
bdce4a09aa
Use direct style fromSVar for zip and function apply
...
Improves concurrent zip perf by 2x. There is modest improvement in zip and
apply as well.
2019-11-23 04:14:26 +05:30
Harendra Kumar
e16a980c5f
Use zipWith from StreamD in zipAsyncWith etc.
...
Improves perf of zipAsyncWith by 4x and applicative ZipAsync by 2x.
Not sure why applicative does not show the same perf as zipAsyncWith.
2019-11-21 22:09:35 +05:30
Harendra Kumar
36bfc45842
Use StreamD for parallel zip
...
improves concurrent zip perf by 3x
2019-11-21 22:09:35 +05:30
Harendra Kumar
2b31b3d07b
Use StreamD for parallel application and fold
...
Brings down the timing of parallel map application and parall sum fold to half.
2019-11-21 22:09:35 +05:30
Harendra Kumar
107f52718f
Add benchmarks for parallel application and fold
2019-11-21 21:43:41 +05:30
Harendra Kumar
90da32549d
Fix build with "dev" flag
2019-11-21 20:37:47 +05:30
Harendra Kumar
d15bde0085
Add repeatM unfold
2019-11-21 20:37:47 +05:30
Harendra Kumar
668a26318e
Add putBytes and putLines
2019-11-21 20:37:47 +05:30
Harendra Kumar
f336d57089
Add intersperseSuffixBySpan
2019-11-21 18:47:34 +05:30
Harendra Kumar
be43922fd4
export writeNAligned and unsafeIndex
2019-11-21 18:47:34 +05:30
Pranay Sashank
291ff372c7
Add docs/Build.md and design/* to extra-source-files in .cabal.
2019-11-21 02:30:18 +05:30
Pranay Sashank
c5b1aad54e
Put utf8 design from Björn Höhrmann's website under design/.
2019-11-21 02:30:18 +05:30
Pranay Sashank
bafc5b3b76
Update Changelog.md
2019-11-21 02:29:27 +05:30
Pranay Sashank
8642922d9d
Stricitify index i in findIndices
.
2019-11-21 02:29:27 +05:30
Pranay Sashank
a97e3f39fb
Fix bug in findIndices and add a regression test. Fixes #311 .
...
- Update Changelog.
2019-11-21 02:29:27 +05:30
adithyaov
2c9503769c
Move the Benchmark.* modules to Internal
2019-11-19 15:40:41 +05:30
Harendra Kumar
3da70288fe
Add license for base package
2019-11-15 04:44:20 +05:30
Harendra Kumar
b0ec7c9455
update extra-source-files
2019-11-15 04:40:26 +05:30
Harendra Kumar
ef9447d24f
Add updation of extra-source-files
2019-11-15 04:39:44 +05:30
Harendra Kumar
b7dd1b7297
Bump the version for release 0.7.0
2019-11-15 04:25:51 +05:30
Harendra Kumar
04c2ae0148
Add license for utf8 by Bjoern
2019-11-15 04:22:35 +05:30
Harendra Kumar
5bccc5648f
update copyrights for 0.7.0
2019-11-15 04:22:35 +05:30
Harendra Kumar
82e804eb2e
update contributors to 0.7.0
2019-11-15 04:22:35 +05:30
Harendra Kumar
3f60343ed1
update line length histogram section
2019-11-15 04:22:35 +05:30
Harendra Kumar
0d43a94530
add comments
2019-11-15 03:34:02 +05:30
Harendra Kumar
9ef94b0e39
Folds with injection of initial state
2019-11-15 03:34:02 +05:30
Harendra Kumar
a4c2ae4311
Add haddock instructions for experimental APIs
2019-11-15 03:07:06 +05:30
Harendra Kumar
79a0c1e6fa
hold Map based operations for now
2019-11-15 03:07:06 +05:30
Harendra Kumar
75b0bacc3e
Hold the foldWith etc. move to Prelude
2019-11-15 03:07:05 +05:30
Harendra Kumar
d1c0103131
hide incomplete docs
2019-11-15 02:59:41 +05:30
Harendra Kumar
258bb2df1e
hide the docs for internal StreamD/Type module
2019-11-15 02:59:41 +05:30
Pranay Sashank
ad108f7bad
Update changelog.
2019-11-15 02:28:21 +05:30
Harendra Kumar
13c3e9a844
Fix histogram examples.
2019-11-15 01:05:33 +05:30
Harendra Kumar
e000868621
Use the File module instead of the Handle module.
2019-11-15 01:05:33 +05:30
Harendra Kumar
8504b9363b
implement getBytes and writeStrings
2019-11-15 00:57:21 +05:30
Harendra Kumar
3315e1a615
Correct the order of arguments in finally.
2019-11-15 00:57:21 +05:30
Harendra Kumar
a65148c304
rethrow exceptions in gbracket based impls
2019-11-15 00:57:21 +05:30
Pranay Sashank
10326ed856
Enable Werror and pass a --project-file to cabal in CI.
2019-11-15 00:54:53 +05:30
Pranay Sashank
c2aec505d1
Fix warnings generated by Werror.
2019-11-15 00:54:53 +05:30
Pranay Sashank
9183e21a11
Relax version constraints on hashable.
2019-11-15 00:54:53 +05:30
Harendra Kumar
4bdebf1006
Add putStrings
2019-11-14 06:35:14 +05:30
Harendra Kumar
fcf54e3924
Add toDirs and toFiles
2019-11-14 06:35:14 +05:30
Harendra Kumar
b7c094e5e3
Add MonadTrans and MonadThrow instances
...
They are not yet required by anything, but since I wrote them, committing them.
2019-11-14 06:35:14 +05:30
Harendra Kumar
3becd544ad
bracket and onException should rethrow the exceptions
2019-11-14 06:35:14 +05:30
Harendra Kumar
5c4bbc5885
Add write folds, fromBytes/toBytes for File module
2019-11-14 06:35:14 +05:30
Harendra Kumar
89ddf14ed3
implement getChunks and putChunks
2019-11-14 06:35:14 +05:30