Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce domif performance overhead #3440

Closed
wants to merge 2 commits into from
Closed

Conversation

kevinpschaaf
Copy link
Member

Reference Issue

Fixes #3073

Description

  • Default false values for restamp and if cause removed
  • Templatizer handling for late-binding of outer parent (host) properties optimized

@kevinpschaaf kevinpschaaf added this to the Q1 milestone Feb 18, 2016
@@ -58,7 +57,6 @@
*/
restamp: {
type: Boolean,
value: false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would leave the default of false here. Defining a complex observer (instead of using two property observers) should prevent the execution here until the if has been set.
Since usually restamp is not set by the user, we would treat undefined as false throughout the code. It's just a small semantic shift.

@TimvdLippe
Copy link
Contributor

Closing this issue as the Polymer 2 version has incorporated these changes. @kevinpschaaf please reopen if I misunderstood this PR.

@TimvdLippe TimvdLippe closed this Aug 8, 2017
@TimvdLippe TimvdLippe deleted the 3073-kschaaf-domif-perf branch August 8, 2017 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants