Thomas Munro <thomas.munro@gmail.com> writes:
> On Wed, Apr 10, 2024 at 11:44 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> ... On my Mac laptop
>> (Apple clang version 15.0.0), the compile time for preproc.o went from
>> 6.7sec to 5.5sec.
> Having seen multi-minute compile times on FreeBSD (where clang is the
> system compiler) and Debian (where I get packages from apt.llvm.org),
> I have been quietly waiting for this issue to hit Mac users too (where
> a clang with unknown proprietary changes is the system compiler), but
> it never did. Huh.
I don't doubt that there are other clang versions where the problem
bites a lot harder. What result do you get from the test I tried
(turning mm_strdup into a no-op macro)?
regards, tom lane