diff options
author | Martin Dürst <[email protected]> | 2025-01-03 21:14:32 +0900 |
---|---|---|
committer | Martin Dürst <[email protected]> | 2025-01-03 21:28:47 +0900 |
commit | 27e61e2df749c82ea3e9d9e6d1004ed718fefeee (patch) | |
tree | 195887efa8dde01bf2b75f57cc3de2f1e3e09253 /array.rb | |
parent | d4009d939c15a033a5afa91280efca4efa174929 (diff) |
Speed up initial test creation in test_case_comprehensive.rb:
- Change generate_case_mapping_tests to
generate_single_byte_case_mapping_tests
(all encodings using this method happen to be single-byte)
- Change precalculation of codepoints by converting from
specific encoding, not from Unicode. This reduces creation time.
(See https://github.com/ruby/ruby/pull/7425 for a related proposal
and some additional comments.)
Diffstat (limited to 'array.rb')
0 files changed, 0 insertions, 0 deletions