Callback Based Selectors
Richard Warburton
richard.warburton at gmail.com
Fri Mar 16 11:27:01 UTC 2018
Hi David,
A specialized set isn't really interesting to me because I have to
> process it outside of the lock(s) anyway. ArrayDeque works well for
> me because once it's sized, it's very fast, and by using the callback
> to populate it we avoid the extra add/remove operation on the key set,
> which is already worth something to me.
>
You're right, it's still an improvement in that use-case.
regards,
Richard Warburton
http://insightfullogic.com
@RichardWarburto <http://twitter.com/richardwarburto>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180316/14e9ed7a/attachment-0001.html>
More information about the nio-dev
mailing list