Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

chakrashim: Use JsCreateExternalObjectWithPrototype#429

Closed
obastemur wants to merge 1 commit intonodejs:masterfrom
obastemur:proto_less
Closed

chakrashim: Use JsCreateExternalObjectWithPrototype#429
obastemur wants to merge 1 commit intonodejs:masterfrom
obastemur:proto_less

Conversation

@obastemur
Copy link
Copy Markdown
Contributor

Previously, Chakrashim was calling both JsCreateExternalObject and JsSetPrototype.
JsSetPrototype is expensive to lazy call. Use combined JsCreateExternalObjectWithPrototype instead

needs chakra-core/ChakraCore#4267 to be merged.

Previously, Chakrashim was calling both JsCreateExternalObject and JsSetPrototype.
JsSetPrototype is expensive to lazy call. Use combined JsCreateExternalObjectWithPrototype instead
@kfarnung
Copy link
Copy Markdown
Contributor

Taking over this change in #472.

@kfarnung kfarnung closed this Feb 22, 2018
kfarnung pushed a commit to kfarnung/node-chakracore that referenced this pull request Feb 22, 2018
Previously, Chakrashim was calling both JsCreateExternalObject and
JsSetPrototype. JsSetPrototype is expensive to lazy call. Use combined
JsCreateExternalObjectWithPrototype instead.

PR-URL: nodejs#472
Refs: nodejs#429
Reviewed-By: Taylor Woll <[email protected]>
Reviewed-By: Oguz Bastemur <[email protected]>
kfarnung pushed a commit to kfarnung/node-chakracore that referenced this pull request Feb 23, 2018
Previously, Chakrashim was calling both JsCreateExternalObject and
JsSetPrototype. JsSetPrototype is expensive to lazy call. Use combined
JsCreateExternalObjectWithPrototype instead.

PR-URL: nodejs#472
Refs: nodejs#429
Reviewed-By: Taylor Woll <[email protected]>
Reviewed-By: Oguz Bastemur <[email protected]>
kfarnung pushed a commit to kfarnung/node-chakracore that referenced this pull request Mar 6, 2018
Previously, Chakrashim was calling both JsCreateExternalObject and
JsSetPrototype. JsSetPrototype is expensive to lazy call. Use combined
JsCreateExternalObjectWithPrototype instead.

PR-URL: nodejs#472
Refs: nodejs#429
Reviewed-By: Taylor Woll <[email protected]>
Reviewed-By: Oguz Bastemur <[email protected]>
kfarnung pushed a commit to kfarnung/node-chakracore that referenced this pull request Mar 7, 2018
Previously, Chakrashim was calling both JsCreateExternalObject and
JsSetPrototype. JsSetPrototype is expensive to lazy call. Use combined
JsCreateExternalObjectWithPrototype instead.

PR-URL: nodejs#472
Refs: nodejs#429
Reviewed-By: Taylor Woll <[email protected]>
Reviewed-By: Oguz Bastemur <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants