mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-18 12:13:28 +08:00
03c33372d7710bbb54b0703a7d1b9863eb828d56
We use rubymotion v1.30 with new automatically detected file dependencies. We have very slow builds (about 30 secs on not cold builds) in project with only 52 ruby files. After investigating I found that almost all build time rubymotion spend in `Motion::Project::Config#ordered_build_files` (about 24 secs). `Array#uniq` does exactly what `orderd_build_files` is doing but much much faster. With this change `Motion::Project::Config#ordered_build_files` takes only about 0.06 secs on my machine.
Description
Languages
Ruby
98.5%
HTML
1.3%
Python
0.2%