![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
scala
zhucuili
这个作者很懒,什么都没留下…
展开
-
Specializing for primitive types
转之http://www.scala-notes.org/2011/04/specializing-for-primitive-types/ One interesting feature that was added to Scala in version 2.8 is specialization, using the @specialized annotation...原创 2011-06-05 09:40:48 · 91 阅读 · 0 评论 -
scala并行集合
每一个集合都能通过`par`方法 转换为一个并行的集合,并行集合利用多核实现并发操作,如:foreach,map,filter等等。并行集合在`scala.collection.parallel`. 有下面这些并行集合: parallel arrays - scala.collection.parallel.mutable.ParArray parallel ...原创 2011-06-11 12:36:27 · 819 阅读 · 0 评论