[foreign-memaccess+abi] RFR: 8308858: FFM API and strings
Maurizio Cimadamore
mcimadamore at openjdk.org
Wed Jun 7 14:43:26 UTC 2023
On Mon, 5 Jun 2023 07:15:22 GMT, Per Minborg <pminborg at openjdk.org> wrote:
> Maybe the default charset will be the most likely to use and if so, we could provide some kind of optimized version (e.g. using a composed `MethodHandle`?) in the future. Perhaps it is good enough but it would be interesting to see some benchmarks.
See my comment on special-casing strlen in some cases (as I think that's the big gain to be had).
-------------
PR Comment: https://git.openjdk.org/panama-foreign/pull/836#issuecomment-1580968373
More information about the panama-dev
mailing list