>On Mon, Oct 13, 2003 at 07:55:35PM -0400, Zlatin Balevsky wrote: >> The state chain code uses the reflection api heavily. Official >> tutorials from Sun recommend reflection to be used only as a last >> resort, i.e. if the problem cannot be solved any other way. RTTI in >> win32 adds tons of overhead. <insert other examples here> > >Are you sure you mean RTTI or full reflection here? > >We use instanceof heavily - but it seems very unlikely that it uses any >more resources than a virtual call.
We are also using invoke. Examples of where inclused: in freenet.node.State.received, freenet.node.states.FCP.NewInfo.received and freenet.crypt.CryptoKey.read.. regards /N _______________________________________________ Devl mailing list [EMAIL PROTECTED] http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl
