Skip to content

Commit

Permalink
chore(common/models/templates): reverts offset but leaves its infrast…
Browse files Browse the repository at this point in the history
…ructure
  • Loading branch information
jahorton committed Mar 27, 2024
1 parent b35b548 commit 0635b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/models/templates/src/tries/compression.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Entry, InternalNode, Leaf, Node } from "../trie-model.js";
// const ENCODED_NUM_BASE = 64;

// Offsetting by even just 0x0020 avoids control-code chars + avoids VS Code not liking the encoding.
const ENCODED_NUM_BASE = 0x0020;
const ENCODED_NUM_BASE = 0x0000;
const SINGLE_CHAR_RANGE = Math.pow(2, 16) - ENCODED_NUM_BASE;

const WEIGHT_WIDTH = 2;
Expand Down

0 comments on commit 0635b3c

Please sign in to comment.