Question on layer/peeling
brian.goetz at oracle.com
Tue Jan 6 02:48:02 UTC 2015
> That was my expectation. I toying with a specialised HashMap to a feel
> for how specialisation will work. I'm assuming that the layer parts
> aren't implemented yet - I couldn't find anything in a cursory browse of
> the commits. Is there something I could do in the meantime as a hack
> (e.g. instanceof check and downcast to Object)?
Thanks for this. This is the kind of useful experiment that we are
happy to see!
The layer part is indeed not yet implemented. But even a catalogue of
where the code can't be made value-clean would be a useful contribution.
We know that the Collections implementation is full of stuff that will
be hard to any-fy without help from layering or other tools, but don't
yet have a complete catalog.
More information about the valhalla-dev