Skip to content

Custom specialization for Map#20

Open
denisrosset wants to merge 2 commits intonon:masterfrom
denisrosset:topic/map-custom-spec
Open

Custom specialization for Map#20
denisrosset wants to merge 2 commits intonon:masterfrom
denisrosset:topic/map-custom-spec

Conversation

@denisrosset
Copy link

3 variants of Map where the keys, the values or both are specialized.
This is done by organizing the specialization annotations in a clever way (first commit), and then activating specializations selectively by using imports.

@denisrosset
Copy link
Author

Note that spkey.Map[Int, AnyRef] does not box on Scala 2.11.1, but still boxes on Scala 2.10.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant