Re:Java 8: New features in ConcurrentHashMap
by lmm on Thursday January 19, 2017 @07:26AM
(#13435212)
For the sake of comparison the Scala equivalent of those 8 lines is:
and comes with all the other things merb mentioned. And it's unlikely to be any slower in practice since the JIT can inline the access (not that method calls are ever likely to be a noticeable overhead anyway).
[ Parent
| on HN ]
There are no comments on this comment yet.