mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
perf: details
This commit is contained in:
parent
c313731a70
commit
34a4a87fc3
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue