PROX generator: performance optimization (4/4)