archan937 / lock-o-motion

Require and mock Ruby gems (including their dependencies) within RubyMotion applications
https://rubygems.org/gems/lock-o-motion
MIT License
23 stars 2 forks source link

Performance improvements on Lotion.require. #4

Closed DougPuchalski closed 11 years ago

DougPuchalski commented 11 years ago

Mostly this issue was with passing in 'caller' from Object#require, which was causing delays of several seconds in a large project, and ended up being an empty array for some reason. This was happening at runtime, need to determine why require is even being called then.

This might warrant some discussion before merge, I'm still unclear as to the role of require at runtime.

archan937 commented 11 years ago

No, I do not. Just merged it :)

DougPuchalski commented 11 years ago

I didn't know you mean pull when you said close! Cheers.