[External] : Re: MemorySegment.ofAddress(...).reinterpret(...)
Brian S O'Neill
bronee at gmail.com
Fri Jul 7 15:51:14 UTC 2023
Is the restricted method check performed every single time? Why? The
restriction applies to the module, so it only really needs to be checked
once.
On 2023-07-07 08:32 AM, Jorn Vernee wrote:
> We can't just drop an array bounds check, even if we were to make the
> method restricted. (Besides, a restricted method needs to check if the
> caller has native access, which adds its own overhead)
>
More information about the panama-dev
mailing list