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

feat: optimize create element and create text node. #952

Merged
merged 26 commits into from
Dec 14, 2021

Conversation

andycall
Copy link
Member

@andycall andycall commented Dec 8, 2021

  1. 将 Node 和 Element 上的 Getter 和 Setter 移动到原型链上,避免每次创建 Element 和 Node 都要初始化一遍属性。

@yuanyan
Copy link
Contributor

yuanyan commented Dec 8, 2021

缺少 TextNode 的重构

@andycall andycall merged commit 2b9a788 into main Dec 14, 2021
@andycall andycall deleted the feat/optimize-create-element branch December 14, 2021 09:02
@andycall andycall added this to In Progress in Performance via automation Jan 7, 2022
@andycall andycall moved this from In Progress to Done in Performance Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants