Pillow/src
Andreas Florath 1b8f9d386b Optimize ImageStat.Stat._getextrema function
The optimzed function improves the performance.  The original function
always runs through the complete historgram of length 256 even if it
is possible to exit the loop early (break).

Running some tests I found performance improvements of factor >10
depending on the image.

Signed-off-by: Andreas Florath <andreas@florath.net>
2023-12-01 18:53:44 +01:00
..
libImaging Merge pull request #7488 from bgilbert/jpeg-restart 2023-11-14 23:42:50 +11:00
PIL Optimize ImageStat.Stat._getextrema function 2023-12-01 18:53:44 +01:00
thirdparty Update vendored Raqm to 0.10.1 2023-04-12 21:14:38 +02:00
Tk Remove support for Tk/Tcl <= 8.4, deprecated in 8.2.0 2023-04-06 16:11:36 +03:00
_imaging.c Restored comment 2023-10-07 07:00:29 +00:00
_imagingcms.c update PyTypeObject slot names 2023-07-02 00:52:08 -05:00
_imagingft.c Decrement reference count for PyObject 2023-11-13 15:11:28 +11:00
_imagingmath.c Format with ClangFormat 2021-01-03 14:17:51 +11:00
_imagingmorph.c Merge branch 'main' into null 2023-03-22 18:56:52 +11:00
_imagingtk.c Fixed typo 2023-03-18 22:47:04 +11:00
_webp.c update PyTypeObject slot names 2023-07-02 00:52:08 -05:00
decode.c update PyTypeObject slot names 2023-07-02 00:52:08 -05:00
display.c update PyTypeObject slot names 2023-07-02 00:52:08 -05:00
encode.c Allow configuring JPEG restart marker interval on save 2023-10-31 17:47:25 -05:00
map.c Removed unused C code 2021-01-30 11:23:24 +11:00
outline.c update PyTypeObject slot names 2023-07-02 00:52:08 -05:00
path.c update PyTypeObject slot names 2023-07-02 00:52:08 -05:00