Large number of duplicate items in Mac and Linux releases

Case number:671071-996563
Topic:Game: Other
Opened by:jbbuckley
Status:Open
Type:Bug
Opened on:Tuesday, January 7, 2014 - 07:52
Last modified:Wednesday, January 8, 2014 - 22:50

The current Mac and Linux releases of Foldit each contain about 72 MiB of duplicate resources.

Here's a breakdown for the Mac release:

61927244 bytes (59 MiB) for 1 item each:
A: Foldit.app/Contents/Resources/cmp-binary-73ffa22deb4e548e80ba05669f3823f6/
B: Foldit.app/Contents/Resources/cmp-binary-00000000000000000000000000000000/

13902830 bytes (13.3 MiB) for 841 items each:
A: Foldit.app/Contents/Resources/cmp-resources-a4311382ba74c23b93fba48ff5e14869/
B: Foldit.app/Contents/Resources/cmp-resources-00000000000000000000000000000000/

Removing the dupes brings down the total decompressed app size by about 1/3.

Current (total): 229449562 bytes (218.8 MiB) for 2088 items
Without dupes (total): 153619488 bytes (146.5 MiB) for 1243 items

The compressed size drops by ~40%:

Current (zip): 65924202 (62.9 MiB)
Without dupes (zip): 39414930 (37.6 MiB)

(Tue, 01/07/2014 - 07:52  |  1 comment)


Joined: 11/10/2007
Groups: Window Group

The 00000000000000000000000000000000 folders are kept as a kind of fall-back in case there is a problem with the other set of files. We are currently looking into reducing the size of the installer/installation and will take into consideration if we need to keep those.

Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, Boehringer Ingelheim, RosettaCommons