mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-05 19:00:33 -05:00
Merge branch 'master' into wip-model-th-comb
This commit is contained in:
commit
b16fce6f26
4 changed files with 12 additions and 12 deletions
7
dune
7
dune
|
|
@ -1 +1,8 @@
|
|||
(data_only_dirs tests)
|
||||
|
||||
(env
|
||||
(_
|
||||
(flags :standard -warn-error -a+8+9 -w +a-4-32-40-41-42-44-48-70 -color
|
||||
always -strict-sequence -safe-string -short-paths)
|
||||
(ocamlopt_flags :standard -O3 -color always -unbox-closures
|
||||
-unbox-closures-factor 20)))
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ depends: [
|
|||
]
|
||||
depopts: [
|
||||
"mtime" # for profiling stuff
|
||||
"memtrace" # memory profiling
|
||||
"zarith" # for arithmetic
|
||||
]
|
||||
conflicts: [
|
||||
|
|
|
|||
|
|
@ -46,11 +46,10 @@ type term = Term.t
|
|||
|
||||
type t = {
|
||||
mutable enabled : bool;
|
||||
config: Config.t;
|
||||
buf: Buffer.t;
|
||||
out: Proof_ser.Bare.Encode.t;
|
||||
mutable storage: Storage.t;
|
||||
mutable dispose: unit -> unit;
|
||||
dispose: unit -> unit;
|
||||
mutable steps_writer: CS.Writer.t;
|
||||
mutable next_id: int;
|
||||
map_term: term_id Term.Tbl.t; (* term -> proof ID *)
|
||||
|
|
@ -91,12 +90,12 @@ let create ?(config=Config.default) () : t =
|
|||
let dispose () = close_out oc in
|
||||
Storage.On_disk (file, oc), w, dispose
|
||||
in
|
||||
let buf = Buffer.create 1024 in
|
||||
let buf = Buffer.create 1_024 in
|
||||
let out = Proof_ser.Bare.Encode.of_buffer buf in
|
||||
{ enabled=config.Config.enabled;
|
||||
config;
|
||||
next_id=1;
|
||||
buf;
|
||||
out=Proof_ser.Bare.Encode.of_buffer buf;
|
||||
out;
|
||||
map_term=Term.Tbl.create 32;
|
||||
map_fun=Fun.Tbl.create 32;
|
||||
steps_writer; storage; dispose;
|
||||
|
|
|
|||
7
src/dune
7
src/dune
|
|
@ -1,7 +0,0 @@
|
|||
|
||||
(env
|
||||
(_
|
||||
(flags :standard -warn-error
|
||||
-a+8+9 -w +a-4-32-40-41-42-44-48
|
||||
-color always -strict-sequence -safe-string -short-paths)
|
||||
(ocamlopt_flags :standard -O3 -color always -unbox-closures -unbox-closures-factor 20)))
|
||||
Loading…
Add table
Reference in a new issue