Skip to content

Commit

Permalink
docs(common/models/templates): minor notes on noted editor complaints…
Browse files Browse the repository at this point in the history
… for compressed-Trie code
  • Loading branch information
jahorton committed Mar 27, 2024
1 parent 0635b3c commit b40b7c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/models/templates/test/trie-compression.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ describe('Trie decompression', function () {
// at each step, after all.

// // Chrome parses it safely, but VS Code complains about the encoding.
// // > "The file is not displayed in the text editor because it is either binary or uses an unsupported text encoding."
// // - likely b/c the "binary" angle.
// //
// // Complaints are dropped if all encoded numbers are offset by +0x0020.
// // - This does narrow the range of representable values a bit, though.
// // - It -also- brings manual encoding and JSON encoding into near-parity;
Expand Down

0 comments on commit b40b7c7

Please sign in to comment.