in reply to Re: Weird performance issue with Strawberries and Inline::C
in thread Weird performance issue with Strawberries and Inline::C

You explained that c4 is slower than c3, but it wasn't in 5.32. The question isn't why c4 is slow; it's why it's slow now and not before.

  • Comment on Re^2: Weird performance issue with Strawberries and Inline::C

Replies are listed 'Best First'.
Re^3: Weird performance issue with Strawberries and Inline::C
by NERDVANA (Priest) on Oct 13, 2025 at 02:46 UTC
    I was just making the point that C4 is naturally expected to be slower, to emphasize that you should write it like C3 if you don't want to rely on compiler optimization voodoo. It's nice when compiler optimizations work, but better to not rely on them. And yes I didn't do any of the effort to track down which optimization was lost and whether Perl's tooling was responsible.