perf: details

This commit is contained in:
Simon Cruanes 2025-04-09 10:00:50 -04:00
parent c313731a70
commit 34a4a87fc3
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -307,7 +307,7 @@ module Trace_id : sig
end = struct
type t = bytes
let to_bytes self = self
let[@inline] to_bytes self = self
let dummy : t = Bytes.make 16 '\x00'
@ -318,7 +318,7 @@ end = struct
Bytes.set b 0 (Char.unsafe_chr (Char.code (Bytes.get b 0) lor 1));
b
let of_bytes b =
let[@inline] of_bytes b =
if Bytes.length b = 16 then
b
else