Quoting Dalibor Topic ([EMAIL PROTECTED]):
> h) re-use the StringBuffer on the stack
> 
>   Rationale: In order to write as efficient code using StringBuffer as 
> the good Java compilers, we need to reuse the StringBuffer instance on 
> the stack. So instead of writing multiple append statements, try to use 
> a single statement to perform all the work on the StringBuffer instance, 
> including creation, calling append, and calling toString() on it.

That would only help with interpreters, right?  Nothing a good JIT does
not handle for you.

Attachment: pgp00000.pgp
Description: PGP signature

_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to