New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dw-cache

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dw-cache - npm Package Compare versions

Comparing version 0.0.40 to 0.0.41

4

dist/index.js

@@ -1,2 +0,2 @@

/*! dw-cache v0.0.40 https://github.com/falsandtru/dw-cache | (c) 2021, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! dw-cache v0.0.41 https://github.com/falsandtru/dw-cache | (c) 2021, falsandtru | (Apache-2.0 AND MPL-2.0) License */
(function webpackUniversalModuleDefinition(root, factory) {

@@ -457,3 +457,3 @@ if(typeof exports === 'object' && typeof module === 'object')

if (this.misses >= LRU.length) {
LRU.head = LRU.head.next.next.next;
LRU.head = LRU.length & 1 ? LRU.head.next.next : LRU.head.next.next.next;
}

@@ -460,0 +460,0 @@

{
"name": "dw-cache",
"version": "0.0.40",
"version": "0.0.41",
"description": "Dual window cache adaptively coordinates the ratio of LRU to LFU using the two sliding windows.",

@@ -53,3 +53,3 @@ "private": false,

"npm-check-updates": "^16.0.1",
"spica": "0.0.581",
"spica": "0.0.582",
"ts-loader": "^9.3.1",

@@ -56,0 +56,0 @@ "typescript": "4.7.4",

@@ -57,5 +57,5 @@ # Dual Window Cache

LRU hit rate 16.4%
DWC hit rate 17.7%
DWC - LRU hit rate delta 1.2%
DWC / LRU hit rate ratio 107%
DWC hit rate 18.0%
DWC - LRU hit rate delta 1.5%
DWC / LRU hit rate ratio 109%

@@ -98,4 +98,4 @@ OLTP 1,000

LRU hit rate 0%
DWC hit rate 37.1%
DWC - LRU hit rate delta 37.1%
DWC hit rate 54.5%
DWC - LRU hit rate delta 54.5%
DWC / LRU hit rate ratio Infinity

@@ -102,0 +102,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc