UNPKG

ram64

Version:

Multi-threaded 64bit memory cache database inspired by redis-like features

16 lines (15 loc) 419 B
"use strict"; exports.getHash = getHash; exports.HASH_SEED = void 0; var _farmhash = _interopRequireDefault(require("farmhash")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } const HASH_SEED = 0x1234; exports.HASH_SEED = HASH_SEED; function getHash(key) { return _farmhash.default.hash32WithSeed(key, HASH_SEED); } //# sourceMappingURL=hash.js.map