On Mon, Feb 04, 2002 at 10:52:53PM +0100, Oskar Sandberg wrote:
> On Mon, Feb 04, 2002 at 04:32:39PM -0500, Tavin Cole wrote:
> <> 
> > Well, I humbly disagree.  Support classes should accomplish a specific
> > purpose efficiently and do no more, when there is a reasonable system for
> > combining them to achieve desired results.
> > See freenet.support.io.CountedInputStream (there should be a
> > CountedOutputStream too).
> 
> Counting unnecessarily is much cheaper than adding an additional level
> of recursion on every read call.

short final methods are inlined.

-tc


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to