> Whenever I open a file of code that is ~2000 lines or more, emacs slows to a crawl.
Then there is something wrong with your environment. Emacs has no problems with big files. It can have problems with very long lines, but big files shouldn't slow it down.