Hi, questions regarding ThreadAffinityDocumentsWriterThreadPool:
1. Would someone explain to me the ThreadAffinityDocumentsWriterThreadPool class? E.g. why couldn't I use a ThreadLocal (I'll get exceptions)? Also what does the TODO mean? 2. When profiling I see that "threadBindings.get" uses a quite a bit of my CPU - when using a trove collection* indexing gets a bit faster (~10%). But this test was only for one thread and yes, I know that TLongObjectHashMap is not thread safe. But probably worth a try in general to somehow improve the "threadBindings.get" performance? Regards, Peter. * <http://trove.nla.gov.au/>http://trove.starlight-systems.com/