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

Add a WeakMap cache to createStringFromObject #335

Merged
merged 5 commits into from
Sep 25, 2017
Merged

Add a WeakMap cache to createStringFromObject #335

merged 5 commits into from
Sep 25, 2017

Conversation

emmatown
Copy link
Member

What:

Add a WeakMap cache to createStringFromObject

Why:

So that the same object isn't stringified twice.

Checklist:

  • Documentation N/A
  • Tests
  • Code complete

@codecov
Copy link

codecov bot commented Sep 25, 2017

Codecov Report

Merging #335 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #335      +/-   ##
==========================================
+ Coverage   97.29%   97.33%   +0.03%     
==========================================
  Files          17       17              
  Lines         555      563       +8     
  Branches      132      134       +2     
==========================================
+ Hits          540      548       +8     
  Misses         11       11              
  Partials        4        4
Impacted Files Coverage Δ
packages/emotion/src/index.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 575e3c8...7375c61. Read the comment docs.

@tkh44 tkh44 merged commit e4c5b29 into master Sep 25, 2017
@tkh44 tkh44 deleted the weakmap-cache branch September 25, 2017 04:18
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