companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.0 released(!!1!): https://ocaml.org/releases/5.0.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
oriba has quit [Ping timeout: 268 seconds]
waleee has quit [Ping timeout: 246 seconds]
TakinOver has joined #ocaml
chrisz has quit [Ping timeout: 240 seconds]
chrisz has joined #ocaml
azimut has quit [Ping timeout: 240 seconds]
Haudegen has joined #ocaml
TakinOver has quit [Ping timeout: 250 seconds]
TakinOver has joined #ocaml
spip has quit [Quit: Konversation terminated!]
mbuf has joined #ocaml
xd1le has quit [Quit: xd1le]
bartholin has joined #ocaml
olle has joined #ocaml
azimut has joined #ocaml
_alix has joined #ocaml
dh` has quit [Ping timeout: 246 seconds]
dh` has joined #ocaml
spip has joined #ocaml
kakadu has joined #ocaml
kakadu has quit [Quit: Konversation terminated!]
czy has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
Haudegen has joined #ocaml
xd1le has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
mbuf has quit [Quit: Leaving]
olle has quit [Ping timeout: 256 seconds]
dstein64- has joined #ocaml
Haudegen has joined #ocaml
dstein64 has quit [Ping timeout: 240 seconds]
dstein64- is now known as dstein64
<discocaml> <froyo> why are ppx_inline_test descriptions rewritten to be lazy?
<discocaml> <froyo> `let%test "some descr" = ...` compiles to `RuntimeModuleIDRItsName.test ~desc:(lazy "some descr") ...`
<discocaml> <froyo> what's the use of `lazy` if it's not delaying and memoizing a potentially expensive computation
<discocaml> <froyo> I can't figure out how it's useful here
<discocaml> <froyo> aha found out my answer:
<discocaml> <froyo> > We may write `_` instead of `"name"` for anonymous tests. It is also possible to use `[%name <string expr>]` for a dynamically computed name.
waleee has joined #ocaml
<discocaml> <Myrl but it/they> Why does my flamegraph look like this? What does `[unknown]` here mean?
<discocaml> <Myrl but it/they> I decided to run `perf script` and it shows this.
<discocaml> <Myrl but it/they> ```
<discocaml> <Myrl but it/they> main.exe 3497430 682055.412548: 1 cpu_core/cycles:u/:
<discocaml> <Myrl but it/they> ffffffffb4600b40 [unknown] ([unknown])
<discocaml> <Myrl but it/they> ```
<discocaml> <Myrl but it/they> Is this a digestif-specific thing?
<discocaml> <Myrl but it/they> Oh, huh, seems like that's for `dwarf` specifically, using `lbr`, I get much better results(?)
<discocaml> <Myrl but it/they> Oh, huh, seems like that's for `dwarf` specifically, using `lbr`, I get much better(?) results.
<discocaml> <Myrl but it/they> Ooooh, wait, are these lost chunks?
<discocaml> <Myrl but it/they> (Enabling frame pointers and using call-graph=fp helped, in case anyone runs into this too)
amk has quit [Remote host closed the connection]
amk has joined #ocaml
oriba has joined #ocaml
sim642 has joined #ocaml
Tuplanolla has joined #ocaml
azimut has quit [Ping timeout: 240 seconds]
<discocaml> <Myrl but it/they> Hm. Is digestif bad at dealing small streaming strings?
<discocaml> <Myrl but it/they> I precalculated the string before feeding it to digestif, and I get much better perf, I think.
waleee has quit [Ping timeout: 268 seconds]
czy has quit [Remote host closed the connection]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
waleee has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
wingsorc has joined #ocaml
waleee has quit [Quit: WeeChat 3.8]
m5zs7k has quit [Ping timeout: 250 seconds]
m5zs7k has joined #ocaml
waleee has joined #ocaml
neiluj has joined #ocaml
<neiluj> hi!
<neiluj> got a package A that exports a main module A.ml, how to tell dune that the A.A.foo () is equivalent to A.foo ()?
waleee has quit [Ping timeout: 268 seconds]
waleee has joined #ocaml
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
John_Ivan has quit [Quit: Phantom of the future.]
Haudegen has joined #ocaml
bartholin has quit [Quit: Leaving]
TakinOver has quit [Ping timeout: 250 seconds]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
Haudegen has quit [Ping timeout: 276 seconds]
Tuplanolla has quit [Quit: Leaving.]
Tuplanolla has joined #ocaml
Tuplanolla has quit [Client Quit]