mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 01:34:24 +03:00
Merge pull request #109 from radarhere/update-release-notes
Use consistent language
This commit is contained in:
commit
56f743a80f
|
@ -91,16 +91,16 @@ Optimized ImageMode.getmode
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
The lookups made by :py:attr:`~PIL.ImageMode.getmode` are now cached using
|
The lookups made by :py:attr:`~PIL.ImageMode.getmode` are now cached using
|
||||||
:py:func:`functools.lru_cache` instead of a custom cache. Cached calls are 20%
|
:py:func:`functools.lru_cache` instead of a custom cache. Cached calls are 1.2 times as
|
||||||
faster.
|
fast.
|
||||||
|
|
||||||
Optimized ImageStat.Stat count and extrema
|
Optimized ImageStat.Stat count and extrema
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Calculating the :py:attr:`~PIL.ImageStat.Stat.count` and
|
Calculating the :py:attr:`~PIL.ImageStat.Stat.count` and
|
||||||
:py:attr:`~PIL.ImageStat.Stat.extrema` statistics is now faster. After the
|
:py:attr:`~PIL.ImageStat.Stat.extrema` statistics is now faster. After the
|
||||||
histogram is created in ``st = ImageStat.Stat(im)``, ``st.count`` is 3x as fast
|
histogram is created in ``st = ImageStat.Stat(im)``, ``st.count`` is 3 times as fast on
|
||||||
on average and ``st.extrema`` is 12x as fast on average.
|
average and ``st.extrema`` is 12 times as fast on average.
|
||||||
|
|
||||||
Encoder errors now report error detail as string
|
Encoder errors now report error detail as string
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
Loading…
Reference in New Issue
Block a user