Fabian
Fabian
I've pushed a fix for slow disk IO into the wip branch ([dfacd61](https://github.com/copy/v86/commit/dfacd6109dd915104ad916f87fb2f2d3e6cee623)). Please test.
To be clear, the fix mostly improves performance when files are actually downloaded from the server. So I wouldn't expect writes to be any faster, nor reads of any files...
> It's a caching by browser or filestrorage's cache? (sorry if incorrect question) Hmm, 9pfs data is not cached currently, my previous statement was incorrect. However, files are only re-downloaded...
> I had now only test on i3 with 6 GB of ram I think that explains most of the performance problems. You could try settings `MAX_PAGES` to 1 or...
If the cmt files are within the lib folder, merlin locates them automatically (if the package is referenced using `PKG`), so adding a `CMT` directive to the lib folder is...
In case someone is wondering how to call this with nvim's lsp: ```lua vim.keymap.set("n", "", function() local params = vim.lsp.util.make_position_params() params["verbosity"] = 1 vim.lsp.buf_request(0, "ocamllsp/hoverExtended", params, vim.lsp.handlers.hover) end, bufopts) ```
I haven't been able to find one, there's a BSD-licensed implementation here: https://github.com/the-tcpdump-group/libpcap/blob/master/sf-pcap.c The only difference seems to be the use of [this](https://github.com/the-tcpdump-group/libpcap/blob/master/pcap-int.h#L342) packet structure.
As a workaround, one can create an `_tags` file to ignore unrelated directories: ``` : -traverse : -traverse ```
Adding `-no-hygiene` fixes the problem of hygiene errors and doesn't cause any further problems in my project. However, compilation is still noticeably slower when a large directory is present.
> Hmm... so is -no-hygiene the culprit? I think `ocamlbuild` traverses all directories independent of this setting. Apparently this behaviour is set automatically when a `myocamlbuild.ml` file is present: https://github.com/ocaml/ocamlbuild/blob/master/manual/manual.adoc#Sec_Directories...