[ 
https://issues.apache.org/jira/browse/SPARK-10074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen updated SPARK-10074:
------------------------------
    Component/s: Spark Core

Where would this get used though? I didn't see any usages of floats in these 
maps. It's not worth it unless the code would take advantage of them.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to