mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-28 17:53:11 +03:00
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> |
||
---|---|---|
.. | ||
libImaging | ||
PIL | ||
thirdparty | ||
Tk | ||
_imaging.c | ||
_imagingcms.c | ||
_imagingft.c | ||
_imagingmath.c | ||
_imagingmorph.c | ||
_imagingtk.c | ||
_webp.c | ||
decode.c | ||
display.c | ||
encode.c | ||
map.c | ||
outline.c | ||
path.c |