Alexander Karpinsky
Alexander Karpinsky
## Current SIMD state There is a separate [Pillow-SIMD](https://pypi.org/project/Pillow-SIMD/) package on PyPI with modified Pillow code, which includes some rewritten routines using SSE4 and AVX2 compiler intrinsics. Any version of...
Depends on https://github.com/python-pillow/Pillow/pull/8209. This is porting of Filter acceleration from [Pillow-SIMD](https://pypi.org/project/Pillow-SIMD/). This PR includes required changes from https://github.com/python-pillow/Pillow/pull/8209.
Depends on https://github.com/python-pillow/Pillow/pull/8209. This is porting of BoxBlur acceleration from [Pillow-SIMD](https://pypi.org/project/Pillow-SIMD/). This PR includes required changes from https://github.com/python-pillow/Pillow/pull/8209.
Depends on #8209. This is porting of AlphaComposite acceleration from [Pillow-SIMD](https://pypi.org/project/Pillow-SIMD/). This PR includes required changes from #8209.
Includes some useful changers from #8340. ### Improvements * Move some useful macro such as `MAX` and `MIN` to `ImagingUtils.h` https://github.com/python-pillow/Pillow/pull/8389/commits/517f16be0203419e4a378f31ad88d453d8e2ed69 * `ImPlatform.h` is renamed to `ImagingPlatform.h` https://github.com/python-pillow/Pillow/pull/8389/commits/d73e8c24eebccc3275d31328d47b860b548970d4 * All...
aiokafka [relies on `ioloop.create_task()`](https://github.com/aio-libs/aiokafka/blob/v0.11.0/aiokafka/producer/sender.py#L76) method, which run coroutine in background and makes it "cancelable". The problem that [the tasks list in asyncio is public](https://docs.python.org/3/library/asyncio-task.html#asyncio.all_tasks) and external code can cancel `sender_task`....
All changes are divided by independent commits, some of them are optional. In addition to improving performance there are changes: * Do not define `M_PI` in sources, ensure it defined...
Before: ```python In [1]: from blurhash import encode, Image ...: im = Image.open('/Code/imgs/bologna2k.jpg').copy() ...: %time im.size, encode(im.copy(), 9, 9) CPU times: user 12.1 s, sys: 12.1 ms, total: 12.1 s...
## On images' list: truncated ## On image page: truncated ## In image's hierarchy: truncated
Previously, the section described: * how to declare an ARG, * how to provide default values, * how users can override it using --build-arg, * and how its scope is...