Skip to content

Avoid copying and re-encoding for String every timeΒ #54

@kateinoigakukun

Description

@kateinoigakukun
enum JSValue {
-    case string(String)
+    case string(JSString)
}

+ class JSString: JSBridgeClass, StringProtocol {
+    internal let id: JavaScriptObjectRef
+    ...
+ }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions