scraipt
Version:
Scrape away inefficient code during compile-time using AI
17 lines (16 loc) • 403 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Cache = void 0;
// Standard hash table cache fo now, in the future it will use jaacard to test for 99% similarity
class Cache {
constructor() {
this.cache = {};
}
set(key, value) {
this.cache[key] = value;
}
get(key) {
return this.cache[key];
}
}
exports.Cache = Cache;