james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel J. Bergman" <n...@devtech.com>
Subject RE: isLogEnabled() and StringBuffer
Date Tue, 14 Nov 2006 12:55:11 GMT
The path that you suggest is the exact opposite of a code review and code
change that we deliberately undertook after performance testing.
is<LogLevel>Enabled should be used before formatting the message, and
StringBuffers is more efficient than String concatentation at very little
cost.

We can review to see if the StringBuffer case still applies, but checking
the loglevel is still appropriate.

	--- Noel



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message