You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We may also consider another JavaString type which would implement StringProtocol and we would avoid creating a real String in the Swift side which today forces another copy.
The text was updated successfully, but these errors were encountered:
We could consider if we never escape the Swift string or maybe also look into https://download.java.net/java/early_access/jdk24/docs/api/java.base/java/lang/foreign/Linker.Option.html#critical(boolean) if for some opt-in methods we could avoid copying.
We may also consider another
JavaString
type which would implement StringProtocol and we would avoid creating a realString
in the Swift side which today forces another copy.The text was updated successfully, but these errors were encountered: