Commit graph

225 commits

Author SHA1 Message Date
Simon Cruanes
ed2b741865 Merge branch 'master' into stable for 0.18 2016-06-14 14:13:29 +02:00
Simon Cruanes
228011d9aa prepare for 0.18 2016-06-14 14:12:02 +02:00
Simon Cruanes
e08fc88e13 add CCGraph.is_dag 2016-05-06 13:37:32 +02:00
Simon Cruanes
24add9d4f7 make a test less slow 2016-04-25 11:56:07 +02:00
Simon Cruanes
e69ad8a6de Merge branch 'master' into stable 2016-04-22 23:42:29 +02:00
Simon Cruanes
73eecfb10d prepare for 0.17 2016-04-22 23:01:37 +02:00
Simon Cruanes
bb74a33385 add (--^) to CCRAl, CCFQueue, CCKlist (closes #56); add CCKList.Infix 2016-04-22 22:50:37 +02:00
Simon Cruanes
0485bc5cd9 formattign, headers 2016-04-22 22:08:40 +02:00
Simon Cruanes
c14191f1bd small fix for 4.0 compat 2016-04-20 10:05:04 +02:00
Simon Cruanes
308ea3a650 add CCTrie.longest_prefix 2016-04-19 23:44:24 +02:00
Simon Cruanes
3c9548ebf2 provide additional ordering properties in CCTrie.{above,below}
- also add tests for those
2016-04-19 23:32:16 +02:00
Simon Cruanes
ae06357487 formatting in CCTrie 2016-04-19 22:33:42 +02:00
Simon Cruanes
b9f7d2e18a comments and doc for CCDeque 2016-04-19 00:19:13 +02:00
Simon Cruanes
55c9d6c60b fix tests 2016-04-05 20:01:39 +02:00
jkloos
ec3c881939 Added @since tags. 2016-04-05 17:55:36 +02:00
jkloos
3ef3465156 Merge https://github.com/c-cube/ocaml-containers 2016-04-05 16:43:26 +02:00
jkloos
de2244641b Added tests. 2016-04-05 16:39:05 +02:00
jkloos
de859a844d Added map/mapi to some of the map types. 2016-04-05 16:27:30 +02:00
Simon Cruanes
6e46687ee8 fix compilation error 2016-03-14 20:38:59 +01:00
Simon Cruanes
d694d20b26 modify CCPersistentHashtbl.merge and add CCMap.merge_safe 2016-03-14 20:13:20 +01:00
Simon Cruanes
33dd681acd update headers 2016-03-14 20:04:52 +01:00
Simon Cruanes
69e8f7abf8 Merge pull request #60 from johanneskloos/master
Make `CCPersistentHashtbl.S.merge` more general.
2016-03-14 13:56:26 +01:00
Simon Cruanes
0c04df58b0 update CCHet to not use Obj.magic; add test 2016-03-11 21:20:25 +01:00
Simon Cruanes
3a34cc9aa8 add CCHet, heterogeneous containers (table/map) indexed by keys
Difference with CCMix{tbl,map} is that there is no other key than the
polymorphic injection.
2016-03-11 16:11:16 +01:00
jkloos
fecbd7683a Make CCPersistentHashtbl.S.merge more general.
This patch brings the merge function of CCPersistentHashtbl
in line with the merge functions of other maps
(Map, BatMap from batteries). In particular, its signature
changes from the restrictive
  merge: (key -> 'a option -> 'a option -> 'a option) ->
    'a t -> 'a t -> 'a t
to a more general
  merge: (key -> 'a option -> 'b option -> 'c option) ->
    'a t -> 'b t -> 'c t
2016-03-09 11:28:55 +01:00
Simon Cruanes
574b4ac62e add CCImmutArray into containers.data 2016-03-01 20:31:53 +01:00
Simon Cruanes
ab183a7348 Merge branch 'master' into stable for 0.16 2016-02-24 22:09:31 +01:00
Simon Cruanes
a2179d4355 prepare for 0.16 2016-02-24 22:08:26 +01:00
Simon Cruanes
db1de6e6e6 add CCGraph.make and utils 2016-02-21 21:45:14 +01:00
Simon Cruanes
1993eabd21 breaking: change the API of CCMixmap
- make it easier to use |> with CCMixmap
- add test and example
2016-02-19 19:58:21 +01:00
Simon Cruanes
52f585d27b headers 2016-02-19 19:44:39 +01:00
Simon Cruanes
03a29d72cb optional argument ~eq to CCGraph.Dot.pp 2015-12-31 16:18:33 +01:00
Simon Cruanes
42c912fe0e Merge branch 'master' into stable for 0.15 2015-12-22 10:38:21 +01:00
Simon Cruanes
d569cf59bb prepare for 0.15 2015-12-22 10:34:14 +01:00
Simon Cruanes
112dd7da1b doc 2015-12-22 10:21:27 +01:00
Simon Cruanes
c58d31ed98 doc 2015-12-15 16:49:32 +01:00
Simon Cruanes
9cddc2bcf1 some benchmarks for graphs 2015-12-14 14:57:04 +01:00
Simon Cruanes
99919ae1d3 more cache friendliness 2015-11-28 12:43:50 +01:00
Simon Cruanes
0ec5545564 wip: CCAllocCache, an allocation cache for short-lived arrays 2015-11-28 12:10:03 +01:00
Simon Cruanes
8eac492c21 0.14.0.1 with some bugfixes 2015-11-11 17:43:07 +01:00
Fourchaux
44387de784 Correction typos (fichiers src) 2015-11-08 22:27:59 +01:00
Simon Cruanes
adc37e48b3 version 0.14 2015-11-08 13:04:55 +01:00
Simon Cruanes
60aea81750 prepare for 0.14 2015-11-08 13:04:09 +01:00
Simon Cruanes
7105221ff0 add a test in CCGraph 2015-10-23 18:38:29 +02:00
Simon Cruanes
e1e51470f1 add CCHashtbl.add mimicking the stdlib Hashtbl.add 2015-10-22 22:43:00 +02:00
Simon Cruanes
54c2e4541e add CCPersistentHashtbl.stats 2015-10-21 22:48:51 +02:00
Simon Cruanes
15d5da628d reimplementation of CCPersistentHashtbl 2015-10-21 22:38:48 +02:00
Simon Cruanes
219e06c1fe update tests so they run faster 2015-09-27 19:27:44 +02:00
Simon Cruanes
844d39c826 Merge branch 'master' into stable; version 0.13 2015-09-23 16:40:38 +02:00
Simon Cruanes
044cbf0c20 prepare for 0.13 2015-09-23 16:26:07 +02:00