/** @internal */
export const hashOptimize = n => n & 0xbfffffff | n >>> 1 & 0x40000000;
/** @internal */
export const hashString = str => {
  let h = 5381,
    i = str.length;
  while (i) {
    h = h * 33 ^ str.charCodeAt(--i);
  }
  return hashOptimize(h);
};
//# sourceMappingURL=hash.js.map