mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-13 13:16:52 +03:00
1b8f9d386b
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 |