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

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

Closed
wants to merge 2 commits into from

Conversation

SekibOmazic
Copy link
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

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!

@@ -6,9 +6,9 @@
*
* @description
* Factory that constructs cache objects and gives access to them.
*
Copy link
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
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
Contributor Author

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

@IgorMinar
Copy link
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