Specialized primitive implementations after generics specialization
nlisker at gmail.com
Tue Aug 31 01:45:06 UTC 2021
I have a question(s) about the need for primitive specialized
implementations when type parameters will accept primitives.
Today we need various specializations like IntFunction and IntStream.
However, the difference between them is that IntStream brings with it
methods that make sense on int, like sum(), while IntFunction does not.
Does this mean that some specializations will still be needed, or will
there be another way of doing it?
(I'm not advocating to do anything with IntFunction or IntStream, just
using them as examples.)
More information about the valhalla-dev