On 15 March 2012 16:10, Emmanuel Bourg <ebo...@apache.org> wrote: > Le 15/03/2012 16:45, sebb a écrit : > > >> So I then tried hauling the format method calls out of the loops into >> final local variables. >> This improves performance (slightly) in both client and server mode. > > > Could you show some code please?
Ditto. > I'm unable to reproduce this. I used local > variables in simpleTokenLexer and the performance degrades by 14% (HotSpot > server VM, JDK 6u31, Core 2 Duo). I also used local vars in the other methods. See http://people.apache.org/~sebb/CSV/ > Emmanuel Bourg > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org