Minor optimization for compressor loop