-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
JSValue Struct
Pros
- Access fields directly
- Primitives can live on Stack
- Passing requires copying, if JSContext is field member, it requires copying
Cons
- Method calls require if checks
JSValue as a class
Pros
- Same as existing
Cons
- Pass context on stack every time vs call a static method once (need to check performance benefits)
JSValue as an interface
- Every call is an indirect method
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels