Re: [PATCH 2/2] c++: optimize constraint subsumption [PR118069]

2024-12-18 Thread Jason Merrill
On 12/17/24 10:43 AM, Patrick Palka wrote: Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk? OK. -- >8 -- Since atomic constraints are interned the subsumption machinery can safely use pointer instead of structural hashing for them. This speeds up compilation o

[PATCH 2/2] c++: optimize constraint subsumption [PR118069]

2024-12-17 Thread Patrick Palka
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk? -- >8 -- Since atomic constraints are interned the subsumption machinery can safely use pointer instead of structural hashing for them. This speeds up compilation of the testcase in the PR from ~3s to ~2s. P