Your concept of flash exposure is wrong. The flash did not compensate.
Like I said earlier, flash exposure is independant of shutter speed.
Unlike ambient exposure where the duration of the shutter speed and aperture determines the exposure, in flash exposure, the burst of flash, usually lasting 1/500 of a second or faster, and aperture will determine the flash exposure.
The role the shutter speed plays in flash photography is just to sync. You will have to understand why there's a maximum x-sync speed and why HSS or FP flash mode is invented so to use the flash at higher shutter speeds above x-sync.
Here are 2 useful links to flash sync and HSS.
http://www.photozone.de/3Technology/flashtec4.htm
http://www.photozone.de/3Technology/flashtec5.htm
You can set the flash in manual ratio mode, take a few shots with at different shutter speeds below 1/125 or 1/160 if AS is off, keeping aperture constant, and you find that all the shots will have the similar exposures.