RE: API change proposal: String concatenation boost

2008-09-30 Thread Jesús Viñuales
append(char) but not sufficient... I think. Best regards, Jesús -Mensaje original- De: Ulf Zibis [mailto:[EMAIL PROTECTED] Enviado el: lunes, 22 de septiembre de 2008 16:51 Para: Server Performance CC: core-libs-dev@openjdk.java.net Asunto: Re: API change proposal: String concatenation b

Re: API change proposal: String concatenation boost

2008-09-22 Thread Ulf Zibis
Hi Jesús this is a very interesting proposal. Some days ago I had a similar case. I had to instantiate a String from some single char's: int count; String s = new String (new char[] {'I','d', ' ', (char)count}); My proposal is to modify constructor String(char[] chars) to String(char... c

RE: API change proposal: String concatenation boost

2008-09-21 Thread Jesús Viñuales
Hi Rémi. Thank you for your feedback! My comments... > You right about the fact the major use case is to use lot of append > in a loop but i not agree about the fact that this append is always > a append(String) or a append(Object). > append(char), append(int) are very popular too and > doesn't w

Re: API change proposal: String concatenation boost

2008-09-21 Thread Rémi Forax
Server Performance a écrit : Hello, this is my first collaboration to OpenJDK so sorry if I missed some step... And sorry for my English :-( This is my proposal to be discussed: THE GOAL: Boost the overall String concatenation / append operations. BACKGROUND / HISTORY: • At the beginning (JDK