by algorithmsRcool · 7y ago · 0 comments
However, you can cut pretty much all of those allocations with a bit of care and still retain some F# niceties.
I recently wrote a very low allocation text file parser that could ingest log files at over 200MB/s single threaded. All in F# using structs and Span the same way I would in C#.
Except I get the safety, terse syntax and rigor of options, records and matches
They have started fixing this by introducing value tuple, value option and supporting C# performance primitives like Span. But they have a way to go still.