Skip to content

Commit

Permalink
docs: improve descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel committed Aug 23, 2024
1 parent 7499de6 commit 2b716dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h1 align="center">lru.min</h1>
<div align="center">

🔥 Extremely fast <strong>LRU Cache</strong> for <strong>JavaScript</strong> (<strong>Browser</strong> compatible) — **6.1KB**.
🔥 Extremely fast and efficient <strong>LRU Cache</strong> for <strong>JavaScript</strong> (<strong>Browser</strong> compatible) — **6.1KB**.

</div>

Expand All @@ -14,9 +14,9 @@
#### 👨🏻‍💻 Features

- 🕢 Smart and dynamic **TTL**.
- 🧹 Efficient **disposal** handling.
- 🗑️ Efficient **disposal** handling.
- ✅ Truly respects the maximum **cache size**.
- 🔑 Take full caching control _(highly debuggable)_.
- 🧑🏻‍🔬 Full caching control _(highly debuggable)_.

#### 🎖️ [Performance](#performance)

Expand Down Expand Up @@ -75,7 +75,7 @@ const { createLRU } = require('lru.min');
In **Bun**, lru.min achieves up to **11** more operations per second than [**lru-cache**](https://github.com/isaacs/node-lru-cache) `v11.x.x` and up to **5** more ops per second than [**quick-lru**](https://github.com/sindresorhus/quick-lru) `v7.x.x` for essential usage (_get_, _set_, _evict_, and _delete_ the cache):

```sh
# Total Number of Cores: 24 (16 performance and 8 efficiency)
# Total Number of Cores: 24
# Memory: 64 GB

› Node.js
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lru.min",
"version": "0.1.0",
"description": "🔥 Extremely fast LRU cache for JavaScript (Browser compatible) — 6.1KB.",
"description": "🔥 Extremely fast and efficient LRU cache for JavaScript (Browser compatible) — 6.1KB.",
"main": "./lib/index.js",
"module": "./lib/index.mjs",
"types": "./lib/index.d.ts",
Expand Down

0 comments on commit 2b716dd

Please sign in to comment.