Re: [PATCH v2] Simplify maildir_delayed_parsing().
"Kevin J. McCarthy" <[email protected]> Tue, 21 Jul 2026 10:32:12 +0800
| Newsgroups | gmane.mail.mutt.devel |
|---|---|
| Message-ID | <[email protected]> |
--IzNLPU9FtB7UOQ1C Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 20, 2026 at 03:10:28PM -0400, Kurt Hackenberg wrote: >Programmers are notoriously bad at guessing where software spends its=20 >time. The standard advice is to *measure* speed if you're concerned=20 >about it. > >Applying that advice, I guess anyone tempted to remove this speed hack=20 >should measure speed first, with and without the hack, in at least all=20 >the cases above. And remember that disk drives and filesystems both=20 >have cache. A lot of work... Yup. Personally, I would love to completely remove the sort. It would make the function a lot cleaner. But it would be a lot of work to measure. I'm personally on a SSD with=20 btrfs, so the sort is just slowing me down I'm sure :-D --=20 Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA --IzNLPU9FtB7UOQ1C Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEiXWpszqjeRA4XFMIre92hIAxa9oFAmpe2iwACgkQre92hIAx a9ryZRAAqVSiEqQQRw9tnwbu4zY9W5mn9qQm5IuJ9x8IhkAOhETvXQE/yPPKNC5L qDiJTdGA9nhKoTKxGK/hO+EimZIhWGGkxRUW+QhpzKgRmrfacdxbLfy2RGRDoqgD NmBweRbT0UABLrbXHm6t7py1I7OfFo1yE+8S2BUZxHrGdBMgyKUXfDToBWqRF83o KqfILtDIyd5j/eDVqAtbehPLXo4Z+BB3GCCW/kmKDcb/0S+m/VjasYSlE6QP905H IFhLrKO6m2fk0RJXmnD2Rqwa9q1fBXfXYNkrj+x07Zkx4UQhSogYnTcqzeaNGndq IYaD3qFEc04dv9TSmV4EWbNy0K4VaE1CPKDrYDJYqfYW2BtZHdWoSrzNUN+pq92L UVC7fSDDMpCRrv4AiMRJM3IlA0Gkg6V2Nel7B/6S1UOjX4B/ABJ00R6ONc0q4NnX +OSg6z41AP2thRsFE/l55eSI7i1XG1f7Ivl/u/7YOMKmB1SOFfRkFTeqFxPZGu22 NtBc+FkUYu3zoFy7WgnF/tMm8QEEuWvNE8jOCazL1OP/lyEI0l0tohGwyLJMsdL0 hYV5bRe5L7CFgoGpSydq4m0zrDlNBO6m50CwKc1DvPKCk8BBOJLSbtaAbExw1baJ Tcqoj71wJziEfZdzkSJkkudgtIxlaeODBiJRSqpOHkdtDKkKu4E= =aG4M -----END PGP SIGNATURE----- --IzNLPU9FtB7UOQ1C--