Compute optimization