Once you raise the compression to make up for the lost heat, then you lose any perceived detonation resistance. The old rule of thumb that one raises the CR one point to make up for the power lsot from using aluminum works pretty well.
Now if you play with cam timing in order to affect dynamic cylinder pressure, you add another variable.
Modern heads may use swirl and chamber design to allow even more compression but that has nothing to do with the material.
Detonation is the auto-ignition of the end gasses in the chamber as opposed to ignition caused by the flame front started by the plug firing. It is affected by mixture distribution and temperature as well as fuel resistance to auto-ignition.
Aluminum retains less heat in the chamber and thus makes less power unless compensated for by timing, compression, or boost.
yes, one can run more compression but only to the point that one gets back to the heat retained by a cast iron chamber- being able to increase compression does not allow us to exceed that of the iron unless we change other variables as some modern engines do
I have learned to believe in science as I got older