Tim Johnsen

Results 27 comments of Tim Johnsen

Started this on this branch https://github.com/timonus/TJImageCache/tree/resume-data, don't know if the complexity / extra memory usage is worth it though.

Started here https://github.com/timonus/TJImageCache/tree/text-attachments

This can probably only be achieved if background decoding is forced as you can't control when the file is accessed otherwise. Might need to branch.

Initial measurements make me think this isn't worth the trouble, fractions of ms per move. Need to test with larger images to see if it makes a difference.

Here are some samples of the crashes we were seeing along with the drop-off after this change was deployed. ![](https://github.com/user-attachments/assets/38b31227-4df1-4737-98c7-3998cb93a6ec) ![](https://github.com/user-attachments/assets/0a516885-5dc6-424b-97bf-cf481e2272f1) ![](https://github.com/user-attachments/assets/91cdf62f-73eb-43b9-be05-7193f6db3da1)

Hello there, this is a problem we were facing while building [Splat](https://www.splat.ink) and we had to work around it [here](https://github.com/lonepalm/purchases-ios/commit/8733ff6f1b59e2c7e7e355713504fe5f762df8ea). This was occurring on cold start ~50% of the time...