There are a number of factors that affect a vehicle's speed, including the engine size, the weight of the vehicle, and the aerodynamics of the vehicle. In general, larger engines produce more power than smaller engines, and lighter vehicles are faster than heavier vehicles. However, there are a number of exceptions to these rules.
For example, a well-designed 4-cylinder engine can produce more power than a poorly-designed 8-cylinder engine. Additionally, a lightweight 4-cylinder vehicle can be faster than a heavy 8-cylinder vehicle.
Ultimately, the speed of a vehicle is determined by a number of factors, and it is not possible to say definitively whether a 4-cylinder engine can be faster than an 8-cylinder engine. However, it is possible to make some generalizations.
In general, larger engines produce more power than smaller engines, and lighter vehicles are faster than heavier vehicles. However, there are a number of exceptions to these rules, and it is important to consider all of the factors involved when determining the speed of a vehicle.