2014-04-23 18:30 GMT+02:00 Mark Thomas <ma...@apache.org>: > I'd agree with that assessment. > > I do remember having to be very careful with some of that code to get > things working correctly. If there is a cleaner solution then I'd be all > for it as long as performance is no worse. > > Mark > > [1] http://svn.apache.org/viewvc?view=revision&revision=1358055 >
Well, it's fine, but I didn't see the point for me since the buffers were throw away and I didn't need to track their flip state. So the plan next for me would be to try a buffer pool for NIO2 [this is appropriate for NIO2 since scatter/gather can be used to access them]. No idea if it would actually be really faster. Rémy