about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-04-18 21:30:03 +0000
committerbors <bors@rust-lang.org>2015-04-18 21:30:03 +0000
commita16640051dc24d151f432e12a85b70d68d757753 (patch)
treee8d170c167bb5c927989763f41cfcb99a4658753 /src/libsyntax/parse/parser.rs
parent49a94f29bbe49bd26d14cbf87b0955bd4befb8c1 (diff)
parentf14d289d71fd8e4956e7214bda3af15cd50898fe (diff)
downloadrust-a16640051dc24d151f432e12a85b70d68d757753.tar.gz
rust-a16640051dc24d151f432e12a85b70d68d757753.zip
Auto merge of #24560 - kwantam:apply_table_opt, r=alexcrichton
Apply optimization described in
https://github.com/rust-lang/regex/pull/73#issuecomment-93777126
to rust's copy of `unicode.py`.

This shrinks librustc_unicode's tables.rs from 479kB to 456kB,
and should improve performance slightly for related operations
(e.g., is_alphabetic(), is_xid_start(), etc).

In addition, pull in fix from @dscorbett's commit
d25c39f86568a147f9b7080c25711fb1f98f056a in regex, which
makes `load_properties()` more tolerant of whitespace
in the Unicode tables. (This fix does not result in any
changes to tables.rs, but could if the Unicode tables
change in the future.)
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions