The caching that in ObjectName most likely makes it faster, but for your test, you should try a name with like 5 key value pairs, because the JSR 77 names tend to be very long.
I just tried it and this is worst: the regexp approach is around 7 times slower than the naive one.
Wow. Is that with the sun regular expression package or the apache one?
I used the Sun on.
_________________________________________________________________ Trouvez l'�me soeur sur MSN Rencontres ! http://g.msn.fr/FR1000/9551
