Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

refactor($cacheFactory): cache inefficient when no capacity#6226

Closed
SekibOmazic wants to merge 2 commits into
angular:masterfrom
SekibOmazic:issue-6193
Closed

refactor($cacheFactory): cache inefficient when no capacity#6226
SekibOmazic wants to merge 2 commits into
angular:masterfrom
SekibOmazic:issue-6193

Conversation

@SekibOmazic

Copy link
Copy Markdown
Contributor

Browser: Chrome
Component: misc core
Regression: yes

skip maintaining the linked list when cache capacity not specified

closes #6193

skip maintaining the linked list when cache capacity not specified

closes angular#6193
@mary-poppins

Copy link
Copy Markdown

Thanks for the PR! Please check the items below to help us merge this faster. See the contributing docs for more information.

  • Uses the issue template (#6226)

If you need to make changes to your pull request, you can update the commit with git commit --amend.
Then, update the pull request with git push -f.

Thanks again for your help!

Comment thread src/ng/cacheFactory.js Outdated

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.

what's with the whitespace changes? I'm not sure they're bad changes, but they might not belong in the diff

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.

Yes, you're right. It was my fault. The editor settings of my WebStorm were like this: "strip trailing spaces on save: all". I have reverted the whitespace changes.

@SekibOmazic

Copy link
Copy Markdown
Contributor Author

@caitp Whitespace changes reverted. I had bad IDE settings.

@IgorMinar

Copy link
Copy Markdown
Contributor

thanks for the PR!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

$cacheFactory inefficient when no capacity

4 participants