@void
you are correct, the higher the octane rating the more resistant the fuel is to burning, that's why vintage cars cannot be run on these modern fuels, they run compressions of 3:1 maximum and have weak sparks. now days highrevving, hot running, highly tuned engines require the highest possible octane rating to ensure the fuel stays stable and the maximum performance can be extracted from the engine.
@moizhusain
probably has more to do with the quality of the fuel, and there is alos a possibility that your engine runs better on a higher octane fuel which would explain the better milage.