The internal "Export as PDF" function produces enormous files compared with printing to a ghostscript pdf-generating printer driver (checked on windows, will test on mac too) -
2Mb vs 20Kb order of magnitude, with zero discernable visible difference in output. I'm guessing you might be using the ghostscript code internally - maybe some option or other that is or isn't selected?