Hi, After two days of struggling, I got to introduce a new buffer allocator. Please feel free to try and give me feed back. Click the following URL to see the source code and explanation:
http://tinyurl.com/36qt8y I also tried to use WeakReference to return every buffers into the cache, but it was turned out to be very slow unfortunately. It seems like ReferenceQueue doesn't scale very well. We can revive the horrible release() method for more efficiency, but I think this is enough for now. Anyone missing the release() method? :D Cheers, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
