Never use -compile(export_all) for several reasons:
- Clarity: it's easier to see which functions are intended to be used outside the module.
- Code smell: you get warnings for unused functions.
- Optimization: the compiler might be able to make more aggressive optimizations knowing that
not all functions have to be exported.