Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ optimize
Function
optimize
packages/effect/src/Hash.ts:285–285 ·
view source on GitHub ↗
(n: number)
Source
from the content-addressed store, hash-verified
283
* @since 2.0.0
284
*/
285
export
const
optimize = (n: number): number => (n & 0xbfffffff) | ((n >>> 1) & 0x40000000)
286
287
/**
288
* Checks whether a value implements the Hash
interface
.
Callers
7
hash
Function · 0.85
random
Function · 0.85
number
Function · 0.85
string
Function · 0.85
hashUnordered
Function · 0.85
array
Function · 0.85
hashIndexed
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected