ocaml-multicore / eio

Effects-based direct-style IO for multicore OCaml
Other
528 stars 67 forks source link

Add more trace diagrams to README #698

Closed talex5 closed 4 months ago

talex5 commented 4 months ago

Add traces to illustrate the switch and network sections of the README.

Also, remove the out-of-date performance section (it relies on the splice optimisation, which is currently disabled, and encourages Flow.copy, which is often a bad choice as you can't control the buffer size). And simplify the network example, replacing Flow.copy with the newer Flow.read_all.