Not too long ago had to search through a truly gigantic file (I believe it contained JSON logs?). Sublime Text slowed to a crawl and froze when attempting to open it, and I didn't even bother with VS Code.
On a hunch, I tried opening it in Notepad - and it loaded quite quickly!