On Samstag 22 Juli 2006 07:58, Chris Hostetter wrote:
> however i'm not sure if the
> performance benefits of the static instances Daniel mentioned in his
> commit will exist in a multithreaded app (the synchronization costs may
> outway the instantiation costs)
I created a micro benchmark with 2
Creating SimpleDateFormat instances are very expensive as Daniel
already said. I had similar issues with SDF in JSP pages formatting
lots a date strings. Using a simple stack or kind of pool reusing the
SDF instances turned out in a reasonable performance gain. That would
also solve the doubt abou
Uncontended locking in recent JVMs is relatively cheap... it had to be
made cheap given how much synchronization (much of it unneeded) goes
on in Java's standard libs.
As long as the synchronized operation is relatively quick and
relatively infrequent, there shouldn't be much contention and hence
Hi All,
Is there any good tutorial on using Apache Lucene ?
Regards,
Feris
[ http://issues.apache.org/jira/browse/LUCENE-550?page=all ]
Karl Wettin updated LUCENE-550:
---
Attachment: lucene2-karl_20060722.tar.gz
New code. More backwards compatible. Just a very few changes required to the
Lucene core.
Now with test cases from dis
: Is there any good tutorial on using Apache Lucene ?
:
: Regards,
1) questions about using the lucene luibrary are best addressed on the
java-user list (java-dev is for discussion of changes to the lucene
library)
2) take a look at...
http://lucene.apache.org/java/docs/gettingstarted.html
...th