Comparing the performance of Panama with JNI, JNA, and JNR - based on Java 21
Sebastian Stenzel
sebastian.stenzel at gmail.com
Sun Mar 26 13:17:47 UTC 2023
> Am 26.03.2023 um 14:46 schrieb Maurizio Cimadamore <maurizio.cimadamore at oracle.com>:
>
> Forgot: another problem is that just offloading to external "strlen" will not respect the memory segment boundaries (e.g. the underlying strlen will keep going even past the spatial boundaries of the memory segment).
How about using strnlen? At least for native segments?
Improving string conversion efficiency would make a huge difference in my FUSE bindings, where virtually every call contains a file path.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2491 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20230326/f179d9f5/smime.p7s>
More information about the panama-dev
mailing list