--- Begin Message ---
Subject: |
Minor improvement to image map transformation logic |
Date: |
Sun, 24 Mar 2024 18:00:52 -0700 |
Hello,
This patch is slight simplification/optimization.
Joseph
0001-copy-tree-just-image-map-not-entire-image.patch
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#69992: Minor improvement to image map transformation logic |
Date: |
Sat, 30 Mar 2024 16:37:15 +0300 |
> Date: Sat, 30 Mar 2024 13:59:41 +0100
> From: David Ponce <da_vid@orange.fr>
> Cc: 69992@debbugs.gnu.org, joseph@breatheoutbreathe.in
>
> Here is my last patch. The only change compared to the previous patch is that
> now the scale factor is correctly calculated based on the size of the image
> and
> the displayed size. To minimize the performance impact, I saved a call to
> `image-size' by doing the calculation directly in the `image--compute-map' and
> `image--compute-original-map' functions. I did some benchmarks and the
> difference is not significant. The tests still give the same results :-)
>
> Here is the new change log:
Thanks, installed on master, and closing the bug.
--- End Message ---