ocaml-caqti icon indicating copy to clipboard operation
ocaml-caqti copied to clipboard

Caqti forcing the use of Format which is thread unsafe

Open craff opened this issue 5 months ago • 1 comments

Caqti is forcing us to use Logs which in turn uses Format. But,

  • Format is slower than printf (around 70% slower)
  • More importantly, Format is thread unsafe and, for instance, may raise the exception Queue.Empty (I got that bug) I reported this problem, but I am not sure Logs is thread safe.

Would be nice to be able to choose not to use Format.

craff avatar Sep 22 '24 00:09 craff