https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115832
--- Comment #2 from Mohammed Faisal <faisal.irl2004 at gmail dot com> --- I have also tested this with gcc 13.2.1 on a different machine and found a similar slowdown. Testing this with clang 14.0.6 gives only about a 2x slowdown as opposed to the 13.5x slowdown with gcc.