the editable site (validation-lab)
This commit is contained in:
commit
3ac81d5a52
13454 files changed
+2227005
No files matched your search
+97
@@ -0,0 +1,97 @@
|
||||
/**
|
||||
* Constants and helpers shared between the decode-data generator
|
||||
* (`scripts/write-decode-map.ts`) and the runtime (`src/decode.ts`).
|
||||
*
|
||||
* The format and the algorithms (front-coded names, exact 32-bit keys in a
|
||||
* two-choice cuckoo table, the length-probe front end, and the measured
|
||||
* engineering notes) are documented with references in
|
||||
* `scripts/README.md`.
|
||||
*/
|
||||
/** Bias added to every meta char so none needs escaping in JS source. */
|
||||
export declare const META_BIAS = 35;
|
||||
/** Bias for header and choice-bit chars. */
|
||||
export declare const HEADER_BIAS = 48;
|
||||
/** Number of header chars: n (2), suffixes length (2), bucket count (2). */
|
||||
export declare const HEADER_LENGTH = 6;
|
||||
/** Choice bits packed per char. */
|
||||
export declare const CHOICE_BITS_PER_CHAR = 6;
|
||||
/** Multiplier deriving the first candidate bucket from a key. */
|
||||
export declare const BUCKET_HASH_1 = 2654435761;
|
||||
/** Multiplier deriving the second candidate bucket from a key. */
|
||||
export declare const BUCKET_HASH_2 = 2246822507;
|
||||
/** Size of the (c0,c1) class table (10-bit index). */
|
||||
export declare const PAIR_TABLE_SIZE = 1024;
|
||||
/**
|
||||
* Map an alphanumeric char code to 6 bits (1..62); 0 = not alphanumeric.
|
||||
* Used for the key's last-character field.
|
||||
*/
|
||||
export declare const CHAR_REMAP: Uint8Array;
|
||||
/**
|
||||
* The exact 32-bit key for a name occurring at `nameStart` with `length`
|
||||
* chars. Covers the first two and last two characters plus the length;
|
||||
* middle characters are verified separately against the names blob.
|
||||
*
|
||||
* The hot decoder inlines this computation; tests assert both stay in sync
|
||||
* by looking every entity up through the public API.
|
||||
* @param text Text containing the name.
|
||||
* @param nameStart Index of the name's first character.
|
||||
* @param length Length of the name.
|
||||
*/
|
||||
export declare function exactKey(text: string, nameStart: number, length: number): number;
|
||||
/**
|
||||
* The 10-bit (c0,c1) class index used by the probe front end. The function
|
||||
* was chosen by exhaustive search over load-free mixers for minimal
|
||||
* candidate-set collisions on the real entity set.
|
||||
* @param c0 First char code of the candidate name.
|
||||
* @param c1 Second char code.
|
||||
*/
|
||||
export declare function pairIndex(c0: number, c1: number): number;
|
||||
/**
|
||||
* First candidate bucket for a key in a table of `buckets` buckets.
|
||||
* @param key Exact key.
|
||||
* @param buckets Bucket count.
|
||||
*/
|
||||
export declare function bucketOne(key: number, buckets: number): number;
|
||||
/**
|
||||
* Second candidate bucket for a key.
|
||||
* @param key Exact key.
|
||||
* @param buckets Bucket count.
|
||||
*/
|
||||
export declare function bucketTwo(key: number, buckets: number): number;
|
||||
/**
|
||||
* Decode data for the HTML entity set, built from the serialized form at
|
||||
* module init. The format and the algorithms operating on it are documented
|
||||
* in `scripts/README.md`. XML's five entities are matched directly and
|
||||
* ship no data.
|
||||
*/
|
||||
export interface DecodeData {
|
||||
/** Exact 32-bit keys; two-slot buckets, slot index = 2*bucket (+1). */
|
||||
keys: Int32Array;
|
||||
/** Bucket count for the cuckoo table. */
|
||||
buckets: number;
|
||||
/** Per-slot word offset in `middles`. */
|
||||
slotMidOff: Uint16Array;
|
||||
/**
|
||||
* Per-slot value location in `values`: offset in bits 2..15, legacy
|
||||
* flag in bit 1, and length minus one in bit 0. Replaces a per-slot
|
||||
* `string[]`: half the footprint and no
|
||||
* per-value heap objects, for a slightly costlier emit (see
|
||||
* `emitHtmlValue`).
|
||||
*/
|
||||
slotValue: Uint16Array;
|
||||
/** Concatenated replacement values; indexed via `slotValue`. */
|
||||
values: string;
|
||||
/**
|
||||
* Per (c0,c1) class: candidate name lengths. Bits 0-14 = exact lengths
|
||||
* 2..16, bit 15 = lengths above 16 exist, bits 16-20 = legacy lengths.
|
||||
*/
|
||||
lengthBits: Uint32Array;
|
||||
/** Deduplicated middles, packed as pairs of UTF-16 code units per word. */
|
||||
middles: Uint32Array;
|
||||
}
|
||||
/**
|
||||
* Build the lookup structures from a serialized dataset.
|
||||
* @param packed Serialized decode data, see `decode-data-format.ts`.
|
||||
*/
|
||||
export declare function initDecodeData(packed: readonly [string, string]): DecodeData;
|
||||
//# sourceMappingURL=decode-data-format.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"decode-data-format.d.ts","sourceRoot":"","sources":["../../src/internal/decode-data-format.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,yEAAyE;AACzE,eAAO,MAAM,SAAS,KAAO,CAAC;AAC9B,4CAA4C;AAC5C,eAAO,MAAM,WAAW,KAAO,CAAC;AAChC,4EAA4E;AAC5E,eAAO,MAAM,aAAa,IAAI,CAAC;AAC/B,mCAAmC;AACnC,eAAO,MAAM,oBAAoB,IAAI,CAAC;AAEtC,iEAAiE;AACjE,eAAO,MAAM,aAAa,aAAgB,CAAC;AAC3C,kEAAkE;AAClE,eAAO,MAAM,aAAa,aAAgB,CAAC;AAE3C,sDAAsD;AACtD,eAAO,MAAM,eAAe,OAAO,CAAC;AAEpC;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,UAMrB,CAAC;AAEL;;;;;;;;;;GAUG;AACH,wBAAgB,QAAQ,CACpB,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,GACf,MAAM,CAQR;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAExD;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED;;;;;GAKG;AACH,MAAM,WAAW,UAAU;IACvB,uEAAuE;IACvE,IAAI,EAAE,UAAU,CAAC;IACjB,yCAAyC;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,yCAAyC;IACzC,UAAU,EAAE,WAAW,CAAC;IACxB;;;;;;OAMG;IACH,SAAS,EAAE,WAAW,CAAC;IACvB,gEAAgE;IAChE,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,UAAU,EAAE,WAAW,CAAC;IACxB,2EAA2E;IAC3E,OAAO,EAAE,WAAW,CAAC;CACxB;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,UAAU,CA4F5E"}
|
||||
+162
@@ -0,0 +1,162 @@
|
||||
/**
|
||||
* Constants and helpers shared between the decode-data generator
|
||||
* (`scripts/write-decode-map.ts`) and the runtime (`src/decode.ts`).
|
||||
*
|
||||
* The format and the algorithms (front-coded names, exact 32-bit keys in a
|
||||
* two-choice cuckoo table, the length-probe front end, and the measured
|
||||
* engineering notes) are documented with references in
|
||||
* `scripts/README.md`.
|
||||
*/
|
||||
/** Bias added to every meta char so none needs escaping in JS source. */
|
||||
export const META_BIAS = 0x23;
|
||||
/** Bias for header and choice-bit chars. */
|
||||
export const HEADER_BIAS = 0x30;
|
||||
/** Number of header chars: n (2), suffixes length (2), bucket count (2). */
|
||||
export const HEADER_LENGTH = 6;
|
||||
/** Choice bits packed per char. */
|
||||
export const CHOICE_BITS_PER_CHAR = 6;
|
||||
/** Multiplier deriving the first candidate bucket from a key. */
|
||||
export const BUCKET_HASH_1 = 0x9e_37_79_b1;
|
||||
/** Multiplier deriving the second candidate bucket from a key. */
|
||||
export const BUCKET_HASH_2 = 0x85_eb_ca_6b;
|
||||
/** Size of the (c0,c1) class table (10-bit index). */
|
||||
export const PAIR_TABLE_SIZE = 1024;
|
||||
/**
|
||||
* Map an alphanumeric char code to 6 bits (1..62); 0 = not alphanumeric.
|
||||
* Used for the key's last-character field.
|
||||
*/
|
||||
export const CHAR_REMAP = (() => {
|
||||
const remap = new Uint8Array(128);
|
||||
for (let code = 0x30; code <= 0x39; code++)
|
||||
remap[code] = code - 0x2f;
|
||||
for (let code = 0x41; code <= 0x5a; code++)
|
||||
remap[code] = code - 0x36;
|
||||
for (let code = 0x61; code <= 0x7a; code++)
|
||||
remap[code] = code - 0x3c;
|
||||
return remap;
|
||||
})();
|
||||
/**
|
||||
* The exact 32-bit key for a name occurring at `nameStart` with `length`
|
||||
* chars. Covers the first two and last two characters plus the length;
|
||||
* middle characters are verified separately against the names blob.
|
||||
*
|
||||
* The hot decoder inlines this computation; tests assert both stay in sync
|
||||
* by looking every entity up through the public API.
|
||||
* @param text Text containing the name.
|
||||
* @param nameStart Index of the name's first character.
|
||||
* @param length Length of the name.
|
||||
*/
|
||||
export function exactKey(text, nameStart, length) {
|
||||
return ((text.charCodeAt(nameStart) << 25) |
|
||||
(text.charCodeAt(nameStart + 1) << 18) |
|
||||
(text.charCodeAt(nameStart + length - 2) << 11) |
|
||||
(CHAR_REMAP[text.charCodeAt(nameStart + length - 1)] << 5) |
|
||||
length);
|
||||
}
|
||||
/**
|
||||
* The 10-bit (c0,c1) class index used by the probe front end. The function
|
||||
* was chosen by exhaustive search over load-free mixers for minimal
|
||||
* candidate-set collisions on the real entity set.
|
||||
* @param c0 First char code of the candidate name.
|
||||
* @param c1 Second char code.
|
||||
*/
|
||||
export function pairIndex(c0, c1) {
|
||||
return (((c0 * 3) << 3) ^ c1) & (PAIR_TABLE_SIZE - 1);
|
||||
}
|
||||
/**
|
||||
* First candidate bucket for a key in a table of `buckets` buckets.
|
||||
* @param key Exact key.
|
||||
* @param buckets Bucket count.
|
||||
*/
|
||||
export function bucketOne(key, buckets) {
|
||||
return ((Math.imul(key, BUCKET_HASH_1) >>> 16) * buckets) >>> 16;
|
||||
}
|
||||
/**
|
||||
* Second candidate bucket for a key.
|
||||
* @param key Exact key.
|
||||
* @param buckets Bucket count.
|
||||
*/
|
||||
export function bucketTwo(key, buckets) {
|
||||
return ((Math.imul(key, BUCKET_HASH_2) >>> 16) * buckets) >>> 16;
|
||||
}
|
||||
/**
|
||||
* Build the lookup structures from a serialized dataset.
|
||||
* @param packed Serialized decode data, see `decode-data-format.ts`.
|
||||
*/
|
||||
export function initDecodeData(packed) {
|
||||
const [data, values] = packed;
|
||||
const nameCount = ((data.charCodeAt(0) - HEADER_BIAS) << 6) |
|
||||
(data.charCodeAt(1) - HEADER_BIAS);
|
||||
const suffixesLength = ((data.charCodeAt(2) - HEADER_BIAS) << 6) |
|
||||
(data.charCodeAt(3) - HEADER_BIAS);
|
||||
const buckets = ((data.charCodeAt(4) - HEADER_BIAS) << 6) |
|
||||
(data.charCodeAt(5) - HEADER_BIAS);
|
||||
const metaStart = HEADER_LENGTH + suffixesLength;
|
||||
const choicesStart = metaStart + 2 * nameCount;
|
||||
const slotCount = 2 * buckets;
|
||||
const keys = new Int32Array(slotCount);
|
||||
const slotMidOff = new Uint16Array(slotCount);
|
||||
const slotValue = new Uint16Array(slotCount);
|
||||
const lengthBits = new Uint32Array(PAIR_TABLE_SIZE);
|
||||
const middleOffsets = new Map();
|
||||
const middles = [];
|
||||
let name = "";
|
||||
let suffixOffset = HEADER_LENGTH;
|
||||
let valueOffset = 0;
|
||||
for (let index = 0; index < nameCount; index++) {
|
||||
const meta0 = data.charCodeAt(metaStart + 2 * index) - META_BIAS;
|
||||
const meta1 = data.charCodeAt(metaStart + 2 * index + 1) - META_BIAS;
|
||||
const prefixLength = meta0 & 31;
|
||||
const length = prefixLength + (meta1 & 31);
|
||||
const valueLength = (meta1 >> 5) + 1;
|
||||
name =
|
||||
name.slice(0, prefixLength) +
|
||||
data.slice(suffixOffset, suffixOffset + length - prefixLength);
|
||||
suffixOffset += length - prefixLength;
|
||||
const key = exactKey(name, 0, length);
|
||||
const choice = (data.charCodeAt(choicesStart + Math.floor(index / CHOICE_BITS_PER_CHAR)) -
|
||||
HEADER_BIAS) &
|
||||
(1 << (index % CHOICE_BITS_PER_CHAR));
|
||||
let slot = 2 * (choice === 0 ? bucketOne : bucketTwo)(key, buckets);
|
||||
if (keys[slot] !== 0)
|
||||
slot += 1;
|
||||
keys[slot] = key;
|
||||
if (length > 4) {
|
||||
const middle = name.slice(2, length - 2);
|
||||
const existing = middleOffsets.get(middle);
|
||||
if (existing === undefined) {
|
||||
middleOffsets.set(middle, middles.length);
|
||||
slotMidOff[slot] = middles.length;
|
||||
for (let middleIndex = 0; middleIndex < middle.length; middleIndex += 2) {
|
||||
middles.push(middle.charCodeAt(middleIndex) |
|
||||
(middle.charCodeAt(middleIndex + 1) << 16));
|
||||
}
|
||||
}
|
||||
else {
|
||||
slotMidOff[slot] = existing;
|
||||
}
|
||||
}
|
||||
const pair = pairIndex(name.charCodeAt(0), name.charCodeAt(1));
|
||||
lengthBits[pair] |= length <= 16 ? 1 << (length - 2) : 0x80_00;
|
||||
if ((meta0 & 0x20) !== 0) {
|
||||
lengthBits[pair] |= 1 << (length - 2 + 16);
|
||||
}
|
||||
/*
|
||||
* Values have one or two units, leaving bit 1 for the legacy flag.
|
||||
* The generator checks the 14-bit offset and two-unit value limits.
|
||||
*/
|
||||
slotValue[slot] =
|
||||
(valueOffset << 2) | (valueLength - 1) | ((meta0 & 0x20) >> 4);
|
||||
valueOffset += valueLength;
|
||||
}
|
||||
return {
|
||||
keys,
|
||||
buckets,
|
||||
slotMidOff,
|
||||
slotValue,
|
||||
values,
|
||||
lengthBits,
|
||||
middles: new Uint32Array(middles),
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=decode-data-format.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"decode-data-format.js","sourceRoot":"","sources":["../../src/internal/decode-data-format.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,yEAAyE;AACzE,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,CAAC;AAC9B,4CAA4C;AAC5C,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC;AAChC,4EAA4E;AAC5E,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC;AAC/B,mCAAmC;AACnC,MAAM,CAAC,MAAM,oBAAoB,G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