5.15.0 - Performance Enhancement #3470
dreampiggy
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Features
Encoder
SDImageFramearray into temp image object for encoding, this cause wrap/unwrap performance cost (even bad on macOS because it implicit triggers temp GIF encoding). Now you can directly pass it into newencodedDataWithFrames:APIs.Decoder
Cache
SDWebImageContextImageEncodeOptionsto pass encode options like compression quality to SDImageCache storeImage API. Seperate the SDImageCache encode queue and IO queue to match waitStoreCache behavior #3466SDWebImageWaitStoreCacheis useless when you use transformer or cache serializer. Now you MUST pass this if you want to query disk cache inside completionBlock.Manager/Cache/Loader
callbackQueueandSDCallbackQueuewrapper for advanced user to control which queue to callback #3465 AVMetadataItemValueRequest & SDWebImageManager.load hang #3457.context[.callbackQueue] = .currentSDWebImageContextImageEncodeOptionsto pass encode options like compression quality to SDImageCache storeImage API. Seperate the SDImageCache encode queue and IO queue to match waitStoreCache behavior #3466This discussion was created from the release 5.15.0 - Performance Enhancement.
Beta Was this translation helpful? Give feedback.
All reactions