[BufferAssignment] Hoist the calculation for eligibility of buffer set merging.
This avoids calling corresponding logic O(n^2) times, where n is number of colocated buffer sets, which can be expensive when there are many of colocated buffer sets. PiperOrigin-RevId: 221481560
Loading
Please sign in to comment