@affectively/wasm-cache-ops
v1.0.1
Published
High-performance WebAssembly caching operations - batch ops, compression, eviction, hashing.
Maintainers
Readme
@affectively/wasm-cache-ops
High-performance WebAssembly caching operations written in Rust.
Features
- Batch Operations - Efficient bulk cache operations
- Compression - LZ4-style compression for cached data
- Eviction Policies - LRU, LFU, and TTL-based eviction
- Fast Hashing - High-performance hash functions
Installation
npm install @affectively/wasm-cache-opsQuick Start
import init, { batch_get, batch_set, compress, decompress } from '@affectively/wasm-cache-ops';
await init();
// Batch operations
const results = batch_get(keys);
batch_set(entries);
// Compression
const compressed = compress(data);
const original = decompress(compressed);License
MIT License - see LICENSE for details.
Made with ️ by AFFECTIVELY
