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

chakrashim: Use JsCreateExternalObjectWithPrototype #429

Closed
wants to merge 1 commit into from

Conversation

obastemur
Copy link
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
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 <tawoll@ntdev.microsoft.com>
Reviewed-By: Oguz Bastemur <ogbastem@microsoft.com>
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 <tawoll@ntdev.microsoft.com>
Reviewed-By: Oguz Bastemur <ogbastem@microsoft.com>
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 <tawoll@ntdev.microsoft.com>
Reviewed-By: Oguz Bastemur <ogbastem@microsoft.com>
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 <tawoll@ntdev.microsoft.com>
Reviewed-By: Oguz Bastemur <ogbastem@microsoft.com>
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