[cp-patches] RFC: Adding a cache for locale information

2005-12-11 Thread Guilhem Lavaux
Hi, Using ant we may have discovered that multiple creation of a SimpleDateFormat object can lead to a big slowdown. I am proposing the addition of a simple cache system. LocaleCache would cache ResourceBundle objects and some parsed strings in a WeakHashMap. If it is needed LocaleCache will

Re: [cp-patches] RFC: Adding a cache for locale information

2005-12-11 Thread Mark Wielaard
Hi, On Sun, 2005-12-11 at 14:20 +0100, Guilhem Lavaux wrote: Using ant we may have discovered that multiple creation of a SimpleDateFormat object can lead to a big slowdown. I am proposing the addition of a simple cache system. LocaleCache would cache ResourceBundle objects and some parsed

Re: [cp-patches] RFC: Adding a cache for locale information

2005-12-11 Thread Guilhem Lavaux
Mark Wielaard wrote: Hi, On Sun, 2005-12-11 at 14:20 +0100, Guilhem Lavaux wrote: Using ant we may have discovered that multiple creation of a SimpleDateFormat object can lead to a big slowdown. I am proposing the addition of a simple cache system. LocaleCache would cache ResourceBundle