I'm curious if anyone else has experienced this issue.

When my engine is cold or cool it starts right up as soon as I turn the key. But if I have been driving for awhile it seems to need to crank longer in order to start. My mechanic friend said to me "Yeah I have seen this in other car with these engines." Is this typical? Any ideas what it could be?