@swarmy/lru-cache
Advanced tools
Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "@swarmy/lru-cache", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "LRU cache with event registry to handle cache changes", | ||
@@ -5,0 +5,0 @@ "author": "Gerd Neudert", |
@@ -43,3 +43,3 @@ # lru-cache | ||
* [Detailed Usage](#caching-detail) | ||
* [JSDoc](http://htmlpreview.github.com/?https://github.com/gneu77/lru-cache/blob/master/docs/index.html) | ||
* [JSDoc](https://rawcdn.githack.com/gneu77/lru-cache/a58e345708cb07d4f24434eba9ea4760d61a264b/docs/index.html) | ||
@@ -57,8 +57,8 @@ ### Cache Events | ||
* [Detailed Usage](#cache-events-detail) | ||
* [JSDoc](http://htmlpreview.github.com/?https://github.com/gneu77/lru-cache/blob/master/docs/index.html) | ||
* [JSDoc](https://rawcdn.githack.com/gneu77/lru-cache/a58e345708cb07d4f24434eba9ea4760d61a264b/docs/index.html) | ||
## Quality | ||
* [Test results](http://htmlpreview.github.com/?https://github.com/gneu77/lru-cache/blob/master/test-report.html) | ||
* [Test coverage](http://htmlpreview.github.com/?https://github.com/gneu77/lru-cache/blob/master/coverage/index.html) | ||
* [Performance tests](http://htmlpreview.github.com/?https://github.com/gneu77/lru-cache/blob/master/performance-report.html) | ||
* [Test results](https://rawcdn.githack.com/gneu77/lru-cache/a58e345708cb07d4f24434eba9ea4760d61a264b/test-report.html) | ||
* [Test coverage](https://rawcdn.githack.com/gneu77/lru-cache/a58e345708cb07d4f24434eba9ea4760d61a264b/coverage/index.html) | ||
* [Performance tests](https://rawcdn.githack.com/gneu77/lru-cache/a58e345708cb07d4f24434eba9ea4760d61a264b/performance-report.html) | ||
@@ -89,5 +89,5 @@ ## Develop | ||
* Compared to a native Javascript Map, the LRU logic implies performance impact on get, set and delete. It's just the price to pay for having a LRU cache. | ||
* See [Performance tests](http://htmlpreview.github.com/?https://github.com/gneu77/lru-cache/blob/master/performance-report.html) | ||
* See [Performance tests](https://rawcdn.githack.com/gneu77/lru-cache/a58e345708cb07d4f24434eba9ea4760d61a264b/performance-report.html) | ||
* Compared to a LRU cache without cache events, the is additional performance impact on get, set and delete. | ||
* Again see [Performance tests](http://htmlpreview.github.com/?https://github.com/gneu77/lru-cache/blob/master/performance-report.html) | ||
* Again see [Performance tests](https://rawcdn.githack.com/gneu77/lru-cache/a58e345708cb07d4f24434eba9ea4760d61a264b/performance-report.html) | ||
* However, if you are caching for performance, then because the fetching of values is significantly more time consuming. So whether you save 400ms or only 399ms hardly makes a difference here. | ||
@@ -94,0 +94,0 @@ * If you are not caching for performance reasons, but to have the change events, well than again it's just the price to pay for the event handling. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
116072