Commit graph

1354 commits

Author SHA1 Message Date
Simon Cruanes
9e94f002e4 breaking: make type CCHash.state abstract 2016-01-29 15:57:00 +01:00
Simon Cruanes
1b73c54b07 deprecate CCLinq in favor of standalone OLinq 2016-01-29 10:08:42 +01:00
Simon Cruanes
663a3cd693 introduce a min_size in CCPool, to keep threads alive
- in benchs, keep `min_size=0` for resource management (need to spawn
  lots of threads)
2016-01-26 02:14:35 +01:00
Simon Cruanes
b0c59e036b add appliative instance in CCPool, factor code 2016-01-26 01:33:24 +01:00
Simon Cruanes
067e89b1fe add CCLock.{decr_then_get, get_then_{decr,set,clear}}
atomic updates for integers and bools
2016-01-26 01:04:43 +01:00
Simon Cruanes
ec70f865e4 rename CCFuture into CCPool, expose the thread pool 2016-01-26 01:04:43 +01:00
Simon Cruanes
6b03a28cba split CCTimer out of CCFuture, a standalone 1-thread timer 2016-01-26 01:04:43 +01:00
Simon Cruanes
9097cb11ab move CCThread.Queue into CCBlockingQueue
- fix the module
- fix benchs
2016-01-26 01:04:33 +01:00
Simon Cruanes
02a9639d02 add CCResult, with dependency on result for retrocompat 2016-01-25 21:20:06 +01:00
Simon Cruanes
e2848675f7 add CCFormat.{with_color, with_colorf} 2016-01-25 19:37:43 +01:00
Simon Cruanes
7d8369ab83 small refactor 2016-01-25 18:29:06 +01:00
Simon Cruanes
f53b19545c udpate implem of CCFuture 2016-01-25 17:40:27 +01:00
Simon Cruanes
40c38a5dab add CCThread.spawn{1,2} 2016-01-25 17:16:58 +01:00
Simon Cruanes
32fad92be8 small fix 2016-01-25 16:43:45 +01:00
Simon Cruanes
7f42c94df7 add many helpers in CCUnix (for sockets, files, and processes) 2016-01-25 16:39:13 +01:00
Simon Cruanes
7dbf3f983b add CCFun.finally{1,2}, convenience around finally 2016-01-25 16:38:36 +01:00
Simon Cruanes
49991717c1 add CCLock.update_map 2016-01-25 15:13:12 +01:00
Simon Cruanes
483f90cb52 small fixes in CCSemaphore 2016-01-25 14:26:30 +01:00
Simon Cruanes
d3464563c1 add CCLock.{incr_then_get,get_then_incr} 2016-01-25 14:22:50 +01:00
Simon Cruanes
3cfe3767fc add breaking space in CCFormat.{pair,triple,quad} 2016-01-20 14:19:47 +01:00
Simon Cruanes
cf931aabb1 add CCList.fold_map2 2016-01-05 16:53:33 +01:00
Simon Cruanes
03a29d72cb optional argument ~eq to CCGraph.Dot.pp 2015-12-31 16:18:33 +01:00
Simon Cruanes
03604cb836 add tests; change header 2015-12-29 17:19:43 +01:00
Simon Cruanes
5d6098b80d make CCFormat color handling support nested tags properly 2015-12-22 16:09:40 +01:00
Simon Cruanes
d569cf59bb prepare for 0.15 2015-12-22 10:34:14 +01:00
Simon Cruanes
07382c02dd remove deprecated CCSexpStream module 2015-12-22 10:26:56 +01:00
Simon Cruanes
7e86889f1e remove deprecated CCFloat.sign 2015-12-22 10:22:30 +01:00
Simon Cruanes
112dd7da1b doc 2015-12-22 10:21:27 +01:00
Simon Cruanes
90a611fdfd use tags for color handling in CCFormat 2015-12-22 10:20:39 +01:00
Simon Cruanes
c58d31ed98 doc 2015-12-15 16:49:32 +01:00
Simon Cruanes
3ac1eff2af add CCVector.ro_vector as a convenience alias 2015-12-14 17:46:26 +01:00
Simon Cruanes
9cddc2bcf1 some benchmarks for graphs 2015-12-14 14:57:04 +01:00
Simon Cruanes
24d9213cae bugfix: forgot to exporte {Set.Map}.OrderedType in Containers 2015-12-10 20:32:06 +01:00
Simon Cruanes
fdfc106cad basic ANSI codes for colors in CCFormat 2015-12-03 10:01:10 +01:00
Simon Cruanes
1d6cf2c683 add CCOrd.option 2015-12-02 20:59:07 +01:00
Simon Cruanes
191953feaf add CCMap.{keys,values} 2015-11-30 12:33:59 +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
af2b6caee2 minor formatting 2015-11-22 23:13:08 +01:00
carm
eedce68653 join / both applicative functions for CCError 2015-11-22 17:04:24 -05:00
Simon Cruanes
4d9b1d68ed cleanup; use short-paths 2015-11-13 16:23:49 +01:00
Simon Cruanes
ccf605de12 use qtest's random seed to test Random.split_list 2015-11-13 16:17:40 +01:00
octachron
3b94aa8a2c Fix @since tags in CCRandom.mli 2015-11-13 16:38:05 +02:00
octachron
0a662ef112 Exclude uniformity test from the documentation 2015-11-13 06:18:26 +02:00
octachron
de2a51d62e Fix a wasteful sort in sample_without_replacement 2015-11-13 06:18:17 +02:00
octachron
2bb6423109 CCRandom: add an uniformity test 2015-11-11 23:41:04 +02:00
octachron
06f9ca3eee CCRandom: Make split_list uniform 2015-11-11 23:40:59 +02:00
octachron
08403bac9f CCRandom: Add sample_without_replacement 2015-11-11 23:40:25 +02:00
Simon Cruanes
1c6c4d846e fix: expose type Containers.Hashtbl.t (#53) 2015-11-11 14:57:14 +01:00
Fourchaux
44387de784 Correction typos (fichiers src) 2015-11-08 22:27:59 +01:00