Function
internWrite
(tables: Array<InternWrite | undefined>, index: number)
Source from the content-addressed store, hash-verified
| 3651 | const INTERN_DISABLE_AT = 64 |
| 3652 | |
| 3653 | function internWrite(tables: Array<InternWrite | undefined>, index: number): InternWrite { |
| 3654 | return tables[index] ??= { values: [], refs: undefined, hits: 0, disabled: false } |
| 3655 | } |
| 3656 | |
| 3657 | function internRef(table: InternWrite, value: unknown): number | undefined { |
| 3658 | const refs = table.refs |
Tested by
no test coverage detected