dropbox / dropbox/dropbox-sdk-obj-c

Improve build time by splitting super large autogenerated .m files into smaller ones

Open
#361 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
186
Forks
118
Avg merge
3m
Merged PRs (30d)
9

Description

Currently largest .m file is DBTeamLogObjects.m - more than 180K lines of code with more than 5MB raw text. It alone takes more than 30 seconds to compile with Xcode14 on 3,2 GHz 6-Core Intel Core i7 Mac.

Second largest .m file is DBTeamObjects.m - more than 40K lines of code.

As these files are autogenerated anyway, it would be great if they would be splitted into multiple implementation (.m) parts that would make compilation of the library (and projects including it) multiple times faster thanks to parallelization of Xcode compilation. Also Xcode navigation features would not freeze trying to navigate these monsters.

This would make significant impact improving build times for every project using the library. Example: https://twitter.com/russshanahan/status/1592352159135191040

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.