X Tutup
Skip to content

fix(perf): faster looseIdentical implementation#6364

Closed
yjbanov wants to merge 1 commit intoangular:masterfrom
yjbanov:faster-looseIdentical
Closed

fix(perf): faster looseIdentical implementation#6364
yjbanov wants to merge 1 commit intoangular:masterfrom
yjbanov:faster-looseIdentical

Conversation

@yjbanov
Copy link
Copy Markdown
Contributor

@yjbanov yjbanov commented Jan 8, 2016

Remove String type check in looseIdentical in JS-mode. It is not necessary as dart2js already compiles identical to === which compares string contents. Inline call sites.

This improves change detection of plain fields by 40%. On a large internal app the improvement is 5%.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Add a comment why this should stay separate.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

@tbosch tbosch added pr_state: LGTM action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Jan 8, 2016
Remove String type check in looseIdentical in JS-mode. It is not necessary as dart2js already compiles `identical` to `===` which compares string contents. Inline call sites.

This improves change detection of plain fields by 40%. On a large internal app the improvement is 5%.
@yjbanov yjbanov force-pushed the faster-looseIdentical branch from 3d9079c to d67f649 Compare January 9, 2016 01:16
@yjbanov yjbanov added action: merge The PR is ready for merge by the caretaker and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Jan 9, 2016
@mary-poppins
Copy link
Copy Markdown

Merging PR #6364 on behalf of @jeffbcross to branch presubmit-jeffbcross-pr-6364.

@mary-poppins
Copy link
Copy Markdown

Merging PR #6364 on behalf of @rkirov to branch presubmit-rkirov-pr-6364.

@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

X Tutup