mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-01 09:31:20 +08:00
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.