Its chemical composition makes the difference in strength. So the formulation of cement matters for target strength other than grinding it to finer.
Grinding of cement particles to finest level also do improves the early strength but have less impact on ultimate strength of it.