oxedyne/fe2o3/fe2o3_text/src/unicode/tables/mod.rs
1.0 KiB, 3 runs
created by r1870400018:13914, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | // GENERATED FILE. DO NOT EDIT. |
| 2 | // |
| 3 | // The generated Unicode tables. |
| 4 | // |
| 5 | // Generated by fe2o3_text/src/bin/gen_unicode.rs from the Unicode Character Database, |
| 6 | // version 17.0.0, at https://www.unicode.org/Public/17.0.0/. |
| 7 | // Run `cargo run -p oxedyne_fe2o3_text --bin gen_unicode` to rebuild. |
| 8 | |
| 9 | //! The tables are partitions of the code point space: a sorted array of run start code points, |
| 10 | //! and a parallel array of the value each run takes. A lookup is a binary search of the starts, |
| 11 | //! about eleven steps for the largest table. This representation was chosen over a staged trie |
| 12 | //! because the tables are committed source: a partition of the Line_Break property is a few |
| 13 | //! thousand entries where a two level trie is tens of thousands, and the difference in lookup cost |
| 14 | //! is invisible next to the rest of a segmentation pass. |
| 15 | |
| 16 | pub mod bidi; |
| 17 | pub mod cat; |
| 18 | pub mod lb; |
| 19 | pub mod norm; |
| 20 | pub mod prop; |
| 21 | pub mod seg; |
| 22 | |
| 23 | /// The Unicode Character Database version every table in this module was generated from. |
| 24 | pub const UCD_VERSION: &str = "17.0.0"; |