MCPcopy Create free account
hub / github.com/Effect-TS/effect / hashOptimize

Function hashOptimize

packages/cluster/src/internal/hash.ts:2–2  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

1/** @internal */
2export const hashOptimize = (n: number): number => (n & 0xbfffffff) | ((n >>> 1) & 0x40000000)
3
4/** @internal */
5export const hashString = (str: string) => {

Callers 1

hashStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…