as in case of laptop 3rd generation i5 have more clock speed upto 3.2 ghz and 4th generation i5 have clock speed upto 2.6 ghz.
so across different architectures speed doe not mean too much for example: the i5 4670k has a speed of 3.4ghz while the fx 8350 has a speed of 4.0 ghz. The i5 still out performs on single thread performance because its architecture is superior. Speed is important but not a good tool to determine a cpu's superiority over another (unless they habe the same architecture. So the answer to your question I would generally say the 4th gen but you dont really specify which model so i will stop there.
as in case of laptop 3rd generation i5 have more clock speed upto 3.2 ghz and 4th generation i5 have clock speed upto 2.6 ghz.
so across different architectures speed doe not mean too much for example: the i5 4670k has a speed of 3.4ghz while the fx 8350 has a speed of 4.0 ghz. The i5 still out performs on single thread performance because its architecture is superior. Speed is important but not a good tool to determine a cpu's superiority over another (unless they habe the same architecture. So the answer to your question I would generally say the 4th gen but you dont really specify which model so i will stop there.
With those frequency differences it is possible the poster is comparing an ivy bridge hyperthreaded duo to a haswell quad core. Laptop chips of course, so the haswell would be the way forward.