How the fastest Spanish keyboard users type accent marks and Spanish-specific characters

Wondering what a proficient, super skilled Spanish text/copy editor individual does to type accents like á and tilde's like ñ. Wondering if they, on a Mac, would use the popup that appears if you hold a character (which seems slow for a fast typer). Or if they use the built-in keyboard shortcuts for Mac or Windows (like alt+e for ´ on Mac). Or if they use vim or some other specialized text editor. Or perhaps a custom virtual keyboard overlay, which just maps the keys to something specifically useful to Spanish. Or maybe it's completely different from these options. Basically am interested to know how one does it in a way that isn't annoying like it is on the standard Mac keyboard, either with the popup or the alt codes.