RFC: static bulk copy methods

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Thu Jun 10 20:06:32 UTC 2021


On 10/06/2021 19:10, John Rose wrote:
> I like to break up such “dancing pairs”
> of similar arguments if I can.  Maybe:
>
> MemorySegment.copyWithLayoutsFrom(ValueLayout dstElementLayout, 
> MemorySegment src, ValueLayout srcElementLayout)
>
Sure, that's a reasonable move - this is all experimental, but I think 
we agree on the general direction (more layouts, less "swappy" parameters).

Maurizio



More information about the panama-dev mailing list