Very slow compilation of generated Objective C files
- Dominant language
- Java
- Stars
- 6k
- Forks
- 999
- Avg merge
- 19h 20m
- Merged PRs (30d)
- 14
Description
Hi everybody,
after using j2obc to transpile juniversalchardet I noticed that the compilation of the generated Objective C files is really slow. It takes around 30 minutes to compile my project after that. Before adding this library to my Java project the compilation was fine, but after adding it everything slow down.
When I run a "ps -ef | grep clang" on my Mac the output shows that distribution analisys clases the responsible for that slow build:
org/mozilla/universalchardet/prober/distributionanalysis/Big5DistributionAnalysis.m
org/mozilla/universalchardet/prober/distributionanalysis/EUCTWDistributionAnalysis.m
...
[juniversalchardet.zip](https://github.com/google/j2objc/files/2016031/juniversalchardet.zip)
Why is the compiling of this classes so slow? What can I do to accelerate the process?
Thanks
Contributor guide
Assessment
This issue has not been assessed yet.