From: <lr...@us...> - 2007-06-08 07:16:36
|
Revision: 1821 http://svn.sourceforge.net/rubycocoa/?rev=1821&view=rev Author: lrz Date: 2007-06-08 00:16:33 -0700 (Fri, 08 Jun 2007) Log Message: ----------- 2007-06-08 Laurent Sansonetti <lsa...@ap...> * framework/src/ruby/osx/objc/oc_exception.rb, framework/src/ruby/osx/objc/oc_import.rb, framework/src/ruby/osx/objc/oc_wrapper.rb, framework/src/objc/mdl_osxobjc.h, framework/src/objc/mdl_osxobjc.m, framework/src/objc/mdl_objwrapper.m, tests/tc_subclass.rb, tests/tc_wrapper.rb: When messaging Objective-C from Ruby, now auto-defining the Ruby methods by generating Libffi closures, so that #method_missing will only be called once. This renders the messaging around 3 times faster. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/objc/mdl_objwrapper.m trunk/src/framework/src/objc/mdl_osxobjc.h trunk/src/framework/src/objc/mdl_osxobjc.m trunk/src/framework/src/ruby/osx/objc/oc_exception.rb trunk/src/framework/src/ruby/osx/objc/oc_import.rb trunk/src/framework/src/ruby/osx/objc/oc_wrapper.rb trunk/src/tests/tc_subclass.rb trunk/src/tests/tc_wrapper.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |