bl4ck
Fastest way to read specific line from string
I'm working on a project that involves reading specific lines of a file multiple times. I'm afraid this ReadLine function is the reason it takes a painfully long time to finish so I'm trying to optimize it, but I'm not sure what is the fastest way to do it
This was my old code:
This is my new code: (prevText is in place in case it reads the same thing so that it skips splitting it)
14 replies