I'm planning to use a CDN to serve static HTML pages.

I thought it would be a good idea, because the website would load much faster and should therefore increase the SEO score.

Though recently, I read somewhere that a website which uses shared hosting takes a hit on the SEO score.
The CDN I use also shares the same IP addresses with other hosts that also serve their content.

Would this have a negative impact on the SEO score?
Should I go forward with this?