Commit graph

175 commits

Author SHA1 Message Date
Simon Cruanes
632a820b1d aliases to existing functions 2014-07-01 15:54:00 +02:00
Simon Cruanes
bebc312b85 use delimcc in a new module, SequenceInvert, in order
to reverse the control flow (here with conversion to Gen)
2014-06-10 01:53:29 +02:00
Simon Cruanes
5d73e99652 make example compilable again 2014-05-26 14:49:50 +02:00
Simon Cruanes
dcbee64684 put benchmark compilation into oasis 2014-05-20 22:22:06 +02:00
Simon Cruanes
e1cbfedeab Merge pull request #3 from Drup/master
Remove the for loop in bench_persistent_read.
2014-05-20 22:18:58 +02:00
Drup
301c2609be Get rid of the for loop 2014-05-20 22:14:23 +02:00
Simon Cruanes
5f0bdbfa4e Merge pull request #2 from Drup/master
Add a reading bench for persistent sequences. #yolo.
2014-05-20 22:10:34 +02:00
Drup
a646cdc934 Add a reading bench for persistent sequences. 2014-05-20 22:07:26 +02:00
Simon Cruanes
1e00463cfd removed deprecated Bench and replace it with Benchmark 2014-05-20 21:56:08 +02:00
Simon Cruanes
7860dbbb95 changelog 2014-05-19 15:12:52 +02:00
Simon Cruanes
3d61de614e apparently drup doesn't like polymorphic variants 2014-05-19 14:58:11 +02:00
Simon Cruanes
6ff605ac04 Sequence.persistent_lazy added, for caching without upfront cost 2014-05-19 14:51:12 +02:00
Simon Cruanes
7464ba2488 add bin_annot 2014-04-24 01:11:46 +02:00
Simon Cruanes
281032c61f conversion with Gen 2014-04-16 17:57:11 +02:00
Simon Cruanes
93b6a18c41 cleanup of Infix (removed some operators);
remove TypeClass
2014-04-16 17:56:54 +02:00
Simon Cruanes
2d380a48ca change the interface of min/max so that they return an option
in case the sequence is empty
2014-04-16 17:39:32 +02:00
Simon Cruanes
7d5d7a497f use oasis 2014-04-13 21:54:42 +02:00
Simon Cruanes
a5385ce649 API change for Sequence.persistent: no need to
provide a block size, the unrolled list manages it (doubling block size);
new implementation for persistent is more efficient.
2014-02-27 11:51:57 +01:00
Simon Cruanes
a3ff8ee854 added a benchmark for persistent; moved all benchs to bench/ 2014-02-27 11:06:07 +01:00
Simon Cruanes
b1e5176177 printing functions 2013-11-18 15:17:22 +01:00
Simon Cruanes
61a4f64e75 decreasing int range operator 2013-11-18 15:10:07 +01:00
Simon Cruanes
b54714957a document to_list 2013-10-21 13:35:11 +02:00
Simon Cruanes
78487de758 Merge pull request #1 from Drup/master
Build and install sequence.cmxs
2013-10-21 01:00:31 -07:00
Drup
5a9dfc7939 Build and install sequence.cmxs 2013-10-21 02:56:58 +02:00
Simon Cruanes
85b063737f allow to specify the blocksize in persistent 2013-10-20 22:02:19 +02:00
Simon Cruanes
d0bedb7a76 documentation 2013-10-20 21:56:57 +02:00
Simon Cruanes
0e16d544d5 replace array functions by loops 2013-10-20 21:17:09 +02:00
Simon Cruanes
cd1cbc50be fixed makefile target push_file 2013-10-20 21:16:57 +02:00
Simon Cruanes
855428b2e9 more doc 2013-10-20 21:05:26 +02:00
Simon Cruanes
e807c693bb fixed makefile after merge 2013-10-17 14:56:09 +02:00
Simon Cruanes
bf475c1064 Merge branch 'master' of github.com:c-cube/sequence 2013-10-17 14:54:05 +02:00
Simon Cruanes
7e0deeb1cc do not use {} of shell... 2013-10-17 14:51:48 +02:00
Simon Cruanes
40cc85061e generation of sequence.install file 2013-10-17 14:29:55 +02:00
Simon Cruanes
e2a2f530ed generation of sequence.install file 2013-10-17 14:22:35 +02:00
Simon Cruanes
2b74a6aafb generate man pages in man/ 2013-10-17 13:43:13 +02:00
Simon Cruanes
049fe898ce bugfix in Sequence.take 2013-10-03 21:54:51 +02:00
Simon Cruanes
ad23803a4a .ocamlinit file 2013-08-28 15:02:06 +02:00
Simon Cruanes
12c0c5a6f5 fmap function 2013-08-28 15:01:09 +02:00
Simon Cruanes
4f06874e39 more natural functors to adapt Set and Map 2013-08-28 14:57:28 +02:00
Simon Cruanes
1a6129fc36 push documentation to private server 2013-05-28 14:02:55 +02:00
Simon Cruanes
dcd5b2fa44 fix typo in readme 2013-05-27 15:00:46 +02:00
Simon Cruanes
fa18a7ba83 better pp_seq 2013-05-26 22:35:54 +02:00
Simon Cruanes
b946b7157b optimized MList, with twice as fast insertion (on big tests);
see ./simple_bench.native 10_000_000. The optimization is based on increasing block size.
2013-03-11 00:54:28 +01:00
Simon Cruanes
0115102c2a revert implementation of MList (new one is slower) 2013-03-10 19:02:30 +01:00
Simon Cruanes
b0428e3f05 re-implementation of the internal MList storage, with a kind
of 2-3 B-tree
2013-03-10 16:48:48 +01:00
Simon Cruanes
bd472ba2e0 small error in comment 2013-03-10 15:41:21 +01:00
Simon Cruanes
7eb4fb370b Sequence.join combinator 2013-03-10 15:36:26 +01:00
Simon Cruanes
91a167a885 small API updates; Sequence.intersperse has a signature that is consistent
with the rest of the API, and combines well with |>
2013-03-10 15:26:50 +01:00
Simon Cruanes
f1c101310c update header of sequence.mli to explain some assumptions about sequences. 2013-03-10 15:17:27 +01:00
Simon Cruanes
e23e1f8da1 added alias 'flatten' for 'concat' 2013-03-08 18:09:22 +01:00