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

Refactor the storage of the computed properties #153

Merged
merged 1 commit into from
Sep 20, 2016

Conversation

stof
Copy link
Collaborator

@stof stof commented Jul 22, 2016

Storing the element CSS properties in memory during the processing is faster than serializing them to store them in the DOM and then unserializing them back again each time.

When using it for the example, I get a nice performance improvement. Applying this patch on top of #152 gives me an additional 6% win.

@stof
Copy link
Collaborator Author

stof commented Sep 5, 2016

I fixed the phpdoc. This is now ready

@stof
Copy link
Collaborator Author

stof commented Sep 13, 2016

@tijsverkoyen anything blocking this ?

@tijsverkoyen tijsverkoyen merged commit a580992 into tijsverkoyen:master Sep 20, 2016
@stof stof deleted the refactor_storage branch September 20, 2016 12:31
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.

2 participants