[Mono-list] Making a ruby.net compiler
Fergus Henderson
fjh@cs.mu.OZ.AU
Mon, 12 May 2003 19:39:40 +1000
On 10-May-2003, Miguel de Icaza <miguel@ximian.com> wrote:
> 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.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.