We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94c8954 commit 3b10a14Copy full SHA for 3b10a14
src/core/CCVec.ml
@@ -92,18 +92,6 @@ let clear_and_reset v =
92
v.size <- 0;
93
v.vec <- [||]
94
95
-(* TODO*)
96
-(*
97
- let v = create() in
98
- let a = Weak.create 1 in
99
- push v ("hello"^"world");
100
- Weak.set a 0 (Some (get v 0));
101
- Gc.full_major(); Gc.compact();
102
- assert_bool "is alive" (Weak.check a 0);
103
104
- assert_equal None (Weak.get a 0);
105
-*)
106
-
107
let[@inline] is_empty v = v.size = 0
108
109
let[@inline] push_unsafe_ v x =
0 commit comments