April 19, 2024
More Details About iPhone Installer 4.0

More Details About iPhone Installer 4.0

Posted July 14, 2008 at 2:42pm by iClarified
RiP Dev has provided some more information on the upcoming release of Installer 4.0 for iPhone.

The following entry was posted on the RiP Dev blog today...

-----
Previous Installer had another one major technical issue - it was using Property Lists (plist) files to store the database of available and installed packages. While this was very convenient for us (as programmers) as reading and writing to it required almost no effort, there was numerous complications caused by this design decision.


First, saving and loading property lists with the number of packages available across numerous repositories was long, simply because each property list file could get as large as 10-20 megabytes, and parsing that when Installer is starting up was not an instant operation. This problem was partially eliminated in Installer 3.1 and beyond when we have moved to binary format property list files from the plain XML - they take less space on disk and load and save faster.

Second, when the database with all available packages was loaded, it was kept in memory. The iPhone has strict rules about memory usage - so if you had too many sources or packages in the database, the Installer may have been closing due to not enough RAM conditions.

Third, searching through an array of, say, 1000 packages was slow - it had to run through all of them in memory one by one to find matches. Of course the ARM processor used in the device is fast, but either way that required time.

So Installer 4 uses sqlite database for all it's stuff - which means indexing and searching is fast, the index is not loaded all in RAM and only accessed on demand. The startup is significantly faster because of that.


Next thing I am going to tell you tomorrow is how the packages itself have changed.

And to answer a common question, we're getting there with the release - tomorrow the Installer may hit the private beta, depending on how well the work progresses.
------


More Details About iPhone Installer 4.0
Add Comment
Would you like to be notified when someone replies or adds a new comment?
Yes (All Threads)
Yes (This Thread Only)
No
iClarified Icon
Notifications
Would you like to be notified when we post a new Apple news article or tutorial?
Yes
No
Comments (1)
You must login or register to add a comment...
Number_41
Number_41 - July 14, 2008 at 2:53pm
Meaning you may need to be in wireless more. N41
Recent. Read the latest Apple News.
RECENT
Tutorials. Help is here.
TUTORIALS
Where to Download macOS Monterey
Where to Download macOS Ventura
AppleTV Firmware Download Locations
Where To Download iPad Firmware Files From
Where To Download iPhone Firmware Files From
Deals. Save on Apple devices and accessories.
DEALS