compression can be changed by different pistons, different thickess headgasket, milling the head, different valves.
too low of compression and it'll run like a dog. too high and you risk detonation without very high octane gas. you have to find a nice medium for the intended purpose of the engine.