[Mono-list] Making a ruby.net compiler

Miguel de Icaza miguel@ximian.com
12 May 2003 11:21:37 -0400


Hello,

> >     We could have a call that informs the runtime that isinst will be
> > used massively on a set of classes.
> 
> Probably a custom attribute on the class would be a better approach, IMHO.
> 
> With a run-time call, you'd have to worry about what happens
> if some objects of that class have already been created before
> the run-time call is issued.  Using a custom attribute on the
> class side-steps that issue, and is also a more declarative approach.

Yes, it seems a lot better than my hack ;-)

Miguel.