Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ has
Method
has
benchmark/data.js:9–11 ·
view source on GitHub ↗
(n2)
Source
from the content-addressed store, hash-verified
7
this.bits[n2 >> 5] |= 1 << (n2 & 31);
8
}
9
has(n2) {
10
return
!!(this.bits[n2 >> 5] & (1 << (n2 & 31)));
11
}
12
}
13
class
Chunk {
14
constructor(start, end, content) {
Callers
1
addUneditedChunk
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected