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





--- Comment #81 from Thorbjørn Ravn Andersen <[email protected]>  2010-03-31 
19:02:20 ---
(In reply to comment #80)
> An added bit of information. As part of my work on Log4j 2.0 I discovered that
> there is significant overhead in using varargs. The technique used by SLF4J of
> providing 1, 2, 3 parameters and then 3 + varargs reduces the overhead
> considerably. This was true even when there were no parameters being passed.

Could you elaborate on the overhead?  I thought a "new Object[] {...}" was
being produced by the compiler and that was that?


-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
slf4j-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/slf4j-dev

Reply via email to