Skip to content

Conversation

@stesie
Copy link
Member

@stesie stesie commented Mar 25, 2016

Before this fix, if you called a "fluent" setter (i.e. one that return $this;) then V8Js rewrapped the object and passed that back. That is from JS perspective object identity is not retained

Besides there is a strong performance impact: simple "just store that value" setters require only half the time with the fix applied.

@stesie stesie merged commit 07c81e5 into phpv8:master Mar 25, 2016
@stesie stesie deleted the fluent-setters branch January 20, 2017 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant