Performance issue with reading integers from a binary file at specific locations in F#
问题 This morning I asked here why my Python code was (a lot) slower then my F# version but I'm wondering whether the F# version can be made faster. Any ideas how I could create a faster version of the below code that reads a sorted list of unique indexes from a binary file with 32-bit integers? Note that I tried 2 approaches, one based on a BinaryReader, the other one based on MemoryMappedFile (and some more on Github). module SimpleRead let readValue (reader:BinaryReader) cellIndex = // set