[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57281: [PATCH] Speed up image-dired-display-image
From: |
Stefan Kangas |
Subject: |
bug#57281: [PATCH] Speed up image-dired-display-image |
Date: |
Thu, 18 Aug 2022 22:53:38 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
close 57281 29.1
thanks
Morgan.J.Smith@outlook.com writes:
> find-file-other-window runs image-mode and so does
> image-dired-display-image-mode. By opening the file literally I was able to
> speed this up from taking 0.8ish seconds to only taking 0.4ish seconds
> according to elp
>
> 0.4 seconds is still a long time though. At a later time I might try to see
> if
> there are more optimizations to make
I can verify this speedup. Thanks for the patch, pushed to master (note
that I changed `switch-to-buffer-other-window' to `pop-to-buffer').
For your next patch, please consider producing it using "git
format-patch -1 HEAD" and send it as an attachment. It makes it easier
for us to install it. Thanks in advance.