Skip to content
New issue

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

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

Already on GitHub? # to your account

Apply some performance optimisation #1330

Merged
merged 2 commits into from
Sep 4, 2019
Merged

Conversation

wssgcg1213
Copy link
Collaborator

  1. use textContent instead of innerHTML
  2. use isNull instead of xxx === null: from xxx===null to f(xxx), decrease 4 chars each call.

@wssgcg1213
Copy link
Collaborator Author

@yuanyan yuanyan merged commit a0b5be0 into master Sep 4, 2019
@delete-merged-branch delete-merged-branch bot deleted the refactor-rax-core-performance branch September 4, 2019 09:25
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants