[ 
https://issues.apache.org/jira/browse/SPARK-10074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14701343#comment-14701343
 ] 

Sean Owen commented on SPARK-10074:
-----------------------------------

Yes, and it generates more code. I would argue against this until there's a use 
for it.

> Include Float in @specialized annotation
> ----------------------------------------
>
>                 Key: SPARK-10074
>                 URL: https://issues.apache.org/jira/browse/SPARK-10074
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>            Reporter: Ted Yu
>            Priority: Minor
>
> There're several places in Spark codebase where we use @specialized 
> annotation covering Long and Double.
> e.g. in OpenHashMap.scala :
> {code}
> class OpenHashMap[K : ClassTag, @specialized(Long, Int, Double) V: ClassTag](
>     initialCapacity: Int)
> {code}
> Float should be added to @specialized annotation as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to