Re: [PATCH RFC] c++: optimize push_to_top_level [PR64500]

2025-04-02 Thread Marek Polacek
On Fri, Mar 28, 2025 at 10:02:28PM -0400, Patrick Palka wrote: > On Fri, 28 Mar 2025, Jason Merrill wrote: > > > Tested x86_64-pc-linux-gnu, initially with extra checking to make sure that > > indeed nothing got saved from a namespace level. > > > > This isn't a regression, but a 20% speedup for

Re: [PATCH RFC] c++: optimize push_to_top_level [PR64500]

2025-03-29 Thread Richard Biener
> Am 29.03.2025 um 00:05 schrieb Jason Merrill : > > Tested x86_64-pc-linux-gnu, initially with extra checking to make sure that > indeed nothing got saved from a namespace level. > > This isn't a regression, but a 20% speedup for a simple change is pretty > attractive; what do people think a

Re: [PATCH RFC] c++: optimize push_to_top_level [PR64500]

2025-03-28 Thread Patrick Palka
On Fri, 28 Mar 2025, Jason Merrill wrote: > Tested x86_64-pc-linux-gnu, initially with extra checking to make sure that > indeed nothing got saved from a namespace level. > > This isn't a regression, but a 20% speedup for a simple change is pretty > attractive; what do people think about this cha

[PATCH RFC] c++: optimize push_to_top_level [PR64500]

2025-03-28 Thread Jason Merrill
Tested x86_64-pc-linux-gnu, initially with extra checking to make sure that indeed nothing got saved from a namespace level. This isn't a regression, but a 20% speedup for a simple change is pretty attractive; what do people think about this change for GCC 15? -- 8< -- Profiling showed that the