You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Glide uses a forked BufferedInputStream which allows it's buffer to expand to make sure that we don't throw when images have huge headers (happens occasionally). However, after we read the image header and reset, we don't do anything to indicate that the buffer no longer needs to grow, so it expands to fit the entire image while we're decoding, resulting in unnecessary allocations and copies.
The text was updated successfully, but these errors were encountered:
Glide uses a forked BufferedInputStream which allows it's buffer to expand to make sure that we don't throw when images have huge headers (happens occasionally). However, after we read the image header and reset, we don't do anything to indicate that the buffer no longer needs to grow, so it expands to fit the entire image while we're decoding, resulting in unnecessary allocations and copies.
The text was updated successfully, but these errors were encountered: