[slf4j-dev] [Bug 239] performance issue in MessageFormatter

bugzilla-daemon at qos.ch bugzilla-daemon at qos.ch
Sun Jun 9 14:12:58 CEST 2013


http://bugzilla.slf4j.org/show_bug.cgi?id=239

--- Comment #3 from Simon Arlott <bugzilla.slf4j.simon at arlott.org> ---
Created attachment 98
  --> http://bugzilla.slf4j.org/attachment.cgi?id=98&action=edit
Patch to fix 2 of the 3 reported issues

1. SLF4J 1.7.x requires Java 1.5, so use StringBuilder

2. Create HashMap on demand in deeplyAppendParameter()
   with the default map size because the array size is
   not an indicator of how many map keys will be put
   without knowing how many elements are also object
   arrays

3. Not implemented as the Logger interface only accepts
   a format String, not a StringBuilder

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-dev/attachments/20130609/7b2c6bd8/attachment.html>


More information about the slf4j-dev mailing list