I have a web application in C# that creates a file stream and then sequentially reads and processes rather large text files from the server. This process is currently very slow.
I've heard about memory-mapped files in C#. My question is: would it be faster to do that process if the file was entirely mapped to memory? Also, what are the other advantages/disadvantages of that?