Pulley Diameters

Does engine rpm change when ac compressor kicks on? I wonder if compressor is not spinning at same speed?