Cydia v1.1.33 resolves slow loading after this morning’s update

Cydia, the package manager that comes pre-installed on the checkra1n and unc0ver jailbreaks, received an update late last night to version 1.1.32 to resolve a sporadic crash that could occur if your metadata file became corrupted.

It didn’t take long after the update surfaced that users began reporting slow application loading, especially when refreshing sources. Fortunately, Sam Bingner has released a second update to Cydia Friday evening dubbed v1.1.33, which is meant to address that same slowness.

In a post published on /r/jailbreak, Bingner explains the circumstances in rather vivid detail, crediting Saurik for helping to point him in the right direction to resolve:

Cydia updated to fix slow load times for some people – it was because of an apt quirk. This has decreased the load time for me with 112 sources and about 65k packages from approximately 3-5 seconds to about 1.4 seconds… and apparently from 30 seconds to less than 2 seconds for a tester.

Details:

Cydia (has always) created what looks like a presumably free object in something that is called in a loop for each source. This object (a pkgAcquire object) currently executes all the executed methods to see what version they are inside apt. I’m not sure if this was always the case, but it drastically slowed down Cydia’s load time, especially with a lot of tweaks and a lot of sources because each one of those calls had to have all the tweak’s constructors run on it. I fixed it by caching the pkgAcquire object at a higher level (thanks to Saurik for pointing me to the right place to cache it).

Responses to the post appear to indicate that the update has resolved the slow loading problem for most users. With that in mind, v1.1.33 is an update to Cydia that users probably won’t want to miss…

As always, you can get the latest version of the Cydia package manager by launching the Cydia app on your jailbroken device and refreshing your sources. It should pop up as an essential upgrade thereafter.

Did the latest update to Cydia fix your slow loading problems? Let us know in the comments section below.