Is while used to mean the same thing in the next two sentences?

He was here for a little while.

He lectured for quite a long while.

OPTIONS:
- different meanings
- the same meaning
the same meaning
Betyder det samma sak i de två följande meningarna? Han var här ett tag. Han föreläste ganska länge. Alternativ: - olika betydelser - samma betydelse
Does that mean the same thing in the following two sentences? He was here for a while. He lectured for quite some time. Option: - different meanings - same meaning
samma betydelse
the same meaning