I rarely miss Linux, but I liked being able to have compose keys, most of which were very logical and fast to type. Now on MacOS, I either have to know the option (alt) combination or long press, which makes my writing with accents way slower.

https://en.wikipedia.org/wiki/Compose_key

If you frequently write the same characters, it's straightforward to create your own keyboard layout that matches your usage, using https://software.sil.org/ukelele/

My favorite Linux layout was US International + AltGr dead keys. Basically a US keyboard, but if you want an accented character, just press the AltGr+Accent key, then the letter.

I got the same behavior on macOS by using https://github.com/carjorvaz/macos-us-altgr-intl/blob/master...