You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 5244 Reporter:@ygrek Status: closed (set by @damiendoligez on 2011-05-16T14:46:32Z) Resolution: fixed Priority: normal Severity: minor Version: 3.12.0 Fixed in version: 3.12.1+dev Category: ~DO NOT USE (was: OCaml general) Child of:#4194 Monitored by: mehdi "Pascal Cuoq" "Christoph Bauer"
Bug description
let func1 x y = compare x y
let func2 x y = String.compare x y
let func3 (x:string) y = compare x y
let func4 (x:string) y = String.compare x y
Only func3 calls caml_string_compare directly, others invoke caml_compare via caml_c_call. Verified with ocamlopt -c -S str.ml. Probably this is caused by let compare = Pervasives.compare in stdlib/string.ml
The text was updated successfully, but these errors were encountered:
Original bug ID: 5244
Reporter: @ygrek
Status: closed (set by @damiendoligez on 2011-05-16T14:46:32Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.12.0
Fixed in version: 3.12.1+dev
Category: ~DO NOT USE (was: OCaml general)
Child of: #4194
Monitored by: mehdi "Pascal Cuoq" "Christoph Bauer"
Bug description
let func1 x y = compare x y
let func2 x y = String.compare x y
let func3 (x:string) y = compare x y
let func4 (x:string) y = String.compare x y
Only func3 calls caml_string_compare directly, others invoke caml_compare via caml_c_call. Verified with
ocamlopt -c -S str.ml
. Probably this is caused bylet compare = Pervasives.compare
in stdlib/string.mlThe text was updated successfully, but these errors were encountered: