Re: [whatwg/encoding] Visualization tables has lack of descriptions (Issue #292)

> Some of shown information is not clear and not described anywhere, for example, numbers in the bottom of each cell

That's the index number as used by the spec.

> Why it is generally important to encode information like "Two bytes in UTF-8, code point follows immediately the code point of previous pointer" in the color? What's so important about "follows immediately" that it has it's own color?

These help with understanding what optimizations can be made in implementation. If the number of UTF-8 bytes is known, there's no need to branch to decide how many UTF-8 bytes are needed. "Follows immediately" is important for understanding contiguous ranges that could be arranged in data structures as such.

> "BMP coverage" table and the other table has different cell layout

The number according to which the table is ordered is at the top and the other number is at the bottom. Hence, for the BMP coverage, the Unicode scalar value is at the top and for the index visualization the index number is at the top.

> Why in the other table cell coordinates starts not from zero? What that numbers mean?

These are hexadecimal encoded byte values.



-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/issues/292#issuecomment-1223691434
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/encoding/issues/292/1223691434@github.com>

Received on Tuesday, 23 August 2022 07:52:40 UTC