[Ironruby-core] Code Review: RubyTypes1

Dino Viehland dinov at exchange.microsoft.com
Thu Jun 5 11:47:28 EDT 2008


Looks good.

-----Original Message-----
From: Tomas Matousek
Sent: Wednesday, June 04, 2008 6:36 PM
To: IronRuby External Code Reviewers; Rowan Code Reviewers
Cc: ironruby-core at rubyforge.org
Subject: Code Review: RubyTypes1

tfpt review "/shelveset:RubyTypes1;REDMOND\tomat"

Generates a new CLR type for Ruby classes only if the class derives from a CLR class not impleemnting IRubyObject interface.
This reduces number of types generated during Rails startup to 15 (from ~500).
Builtin classes will inherit from RubyObject, where possible, or implement IRubyObject in future (that will reduce the number of generated classes in pure Ruby app near to 0).

Tomas




More information about the Ironruby-core mailing list