Merge pull request #3640 from radarhere/typo

Fixed typo
This commit is contained in:
Hugo 2019-02-10 07:53:24 +02:00 committed by GitHub
commit 43ed7b29c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ Historically there have been two image allocators in Pillow:
``ImagingAllocateBlock`` and ``ImagingAllocateArray``. The first works ``ImagingAllocateBlock`` and ``ImagingAllocateArray``. The first works
for images smaller than 16MB of data and allocates one large chunk of for images smaller than 16MB of data and allocates one large chunk of
memory of ``im->linesize * im->ysize`` bytes. The second works for memory of ``im->linesize * im->ysize`` bytes. The second works for
large images and make one allocation for each scan line of size large images and makes one allocation for each scan line of size
``im->linesize`` bytes. This makes for a very sharp transition ``im->linesize`` bytes. This makes for a very sharp transition
between one allocation and potentially thousands of small allocations, between one allocation and potentially thousands of small allocations,
leading to unpredictable performance penalties around the transition. leading to unpredictable performance penalties around the transition.