Unicode data: reduce size of to_lower/to_upper tables#152954
Unicode data: reduce size of to_lower/to_upper tables#152954Kmeakin wants to merge 3 commits intorust-lang:mainfrom
Conversation
|
rustbot has assigned @Mark-Simulacrum. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
Reminder, once the PR becomes ready for a review, use |
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Unicode data: reduce size of to_lower/to_upper tables
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (dcce5a6): comparison URL. Overall result: no relevant changes - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. @bors rollup=never Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (secondary -4.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -4.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -0.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 481.498s -> 480.969s (-0.11%) |
51870c1 to
abe23a5
Compare
This comment has been minimized.
This comment has been minimized.
23fdbc4 to
3f4a072
Compare
|
@rustbot ready |
3f4a072 to
eb10a54
Compare
Instead of generating a standalone executable to test `unicode_data`, generate normal tests in `coretests`. This ensures tests are always generated, and will be run as part of the normal testsuite. Also change the generated tests to loop over lookup tables, rather than generating a separate `assert_eq!()` statement for every codepoint. The old approach produced a massive (20,000 lines plus) file which took minutes to compile!
Add a doc-comment to the top of `case-mapping.rs`.
eb10a54 to
902199b
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
that should be |
|
@bors r=Mark-Simulacrum |
|
@Kmeakin: 🔑 Insufficient privileges: not in review users |
|
@bors r+ |
|
⌛ Testing commit 902199b with merge 3bc6ea5... Workflow: https://github.com/rust-lang/rust/actions/runs/22889887298 |
…Simulacrum Unicode data: reduce size of to_lower/to_upper tables Reduces the combined size of to_lower and to_upper from 25,364 bytes to 3,110 bytes. Explained in detail in the doc comments
Reduces the combined size of to_lower and to_upper from 25,364 bytes to 3,110 bytes. Explained in detail in the doc comments