DubbleClick :
On 4.78 ghz the pentium g3258 is exactly the speed of an i3 4160 in evenly 4 threaded scenarios where hyper threading adds 30% performance, though.
In benchmarks were nothing else is running in the background. Also, i3s give much better min and avg fps in newer games and wont have frame drops if you have anything else running the background that requires some cpu resources.
Also, 4.8 ghz requires a decent mobo and a cooler, which by the time you pay for that, you could buy an i3 anyways.