Gerd Möllmann writes: > Ihor Radchenko writes: > >> Iñigo Serna writes: >> >>> I attach a profiler report of opening the same HTML email with >>> commit >>> #eab14d68b2e72b9a6b8b0cc67c9667c2bfbed4f5 reverted (ie, no memset, >>> no >>> for-loop either). >> >> what could provide more datapoints is compiling with -g3 and then >> recording perf profile. > > That and maybe more samples with Emacs' profiler, i.e. run it say 100 > times in a loop. Could you please also check with this diff?