Part 1 Proposal for JDK-8264594

Radosław Smogura mail at smogura.eu
Tue Apr 27 23:52:47 UTC 2021


Hi,

If I can jump in here.

I really would like to have more specialized methods to copy to and from arrays and segments, by including offset and size. (Small remark from my side should it be offset or index?).

I’ve noticed performance impact when I have to subslice segment wrapping Java array to put data at specified location.

Maybe this should be in segment class maybe separate class (something like CopyUtils).

Kind regards,
Rado

> On Apr 27, 2021, at 11:14 PM, Maurizio Cimadamore <maurizio.cimadamore at oracle.com> wrote:
> 
> 
>> On 27/04/2021 21:50, Maurizio Cimadamore wrote:
>> is just one native call away, after all.
> 
> Whoops - I meant "static" not, "native", of course :-)
> 
> Maurizio


More information about the panama-dev mailing list