Christophe Raffalli

Results 144 comments of Christophe Raffalli

This is probably ready for review @anmonteiro ? @Firgeis ? and merge. Even if fixed #145 could avoid rewriting open_connection in the test.

Anurag Soni ***@***.***> writes: > anuragsoni > anuragsoni left a comment (anuragsoni/poll#16) > > Note I know all this is possible on linux and BSD. I don't know for windows....

Thanks, I will probably contribute a minimal PR, moving some of my code to postgresql.

Here is a code to produce the bug. it creates a folder with a lot of files (250000) and run 100 domains and create in average 2 errors ;-) ```...

> Before we embark on this kind of work -- not wrong, but it takes effort from somewhere else -- do we have concrete evidence that it is worth optimizing...

> > One function Sys.file_type returning an element of type file_kind = Inexistant | Regular | Diretory | Other could be more efficient. > > It seems that `simple_httpd` depends...

I did a first benchmark, a function summing the size of all files in a folder (see below). I removed the blocking section and the eventual path allocation (no other...

I investigated a bit more for Unix.stat and similar which take 60% of the time in the above example. One possibility would be to introduce a custom block of type...

> > Functions like Sys.is_directory in the Sys module could be rewritten using raw_stats and allocating less data. > > In this respect, you need to be aware that the...

Patrick Ferris ***@***.***> writes: > * > patricoferris left a comment (ocaml-ppx/ppxlib#611) > > Hi @craff, thanks for this adding this. > > Is there any reason you are not...