I'm not an Emacs user. I assume Emacs can open a 4GB file in less than a second?

Depends on the machine. With https://github.com/m00natic/vlfi you can\nexplore arbitrarily large file in instant.