Skip to content

Commit a8aae91

Browse files
committed
Note on local/stack allocation
1 parent 6f850f9 commit a8aae91

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/kcas/kcas.ml

+4-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,10 @@ and _ tdt =
172172
}
173173
-> [> `Xt ] tdt
174174
(** The result might not yet have been determined. The [root] either says
175-
which it is or points to the root of the transaction log or [tree]. *)
175+
which it is or points to the root of the transaction log or [tree].
176+
177+
Note that if local/stack allocation mode becomes available in OCaml,
178+
the transaction log should be mostly stack allocated. *)
176179
| Leaf : [> `Leaf ] tdt (** Leaf node in the transaction log or [tree]. *)
177180
| Node : {
178181
loc : 'a loc;

0 commit comments

Comments
 (0)