rust/src/etc
Kang Seonghoon 44bcd261a7 Reduce a table used for Debug impl of str.
This commit shrinks the size of the aforementioned table from
2,102 bytes to 1,197 bytes. This is achieved by an observation that
most u16 entries are common in its upper byte. Specifically:

- SINGLETONS now uses two tables, one for (upper byte, lower count)
  and another for a series of lower bytes. For each upper byte given
  number of lower bytes are read and compared.

- NORMAL now uses a variable length format for the count of "true"
  codepoints and "false" codepoints (one byte with MSB unset, or
  two big-endian bytes with the first MSB set).

The code size and relative performance roughly remains same as this
commit tries to optimize for both. The new table and algorithm has
been verified for the equivalence to older ones.
2017-04-05 09:13:19 -07:00
..
installer rustbuild: Start building --enable-extended 2017-01-24 14:48:03 -08:00
natvis Vec, LinkedList, VecDeque, String, and Option NatVis visualizations 2017-02-15 01:51:19 -08:00
platform-intrinsics Auto merge of #38561 - nagisa:rdrandseed, r=alexcrichton 2017-02-14 01:26:10 +00:00
test-float-parse Remove unused code 2016-09-17 23:07:11 -07:00
third-party Strip all leading/trailing newlines 2015-03-15 09:08:21 -07:00
adb_run_wrapper.sh Add one more depth on android test directory for multiple targets 2015-02-10 21:53:31 +09:00
char_private.py Reduce a table used for Debug impl of str. 2017-04-05 09:13:19 -07:00
CONFIGS.md Add sublime-rust to CONFIGS.md. 2016-08-22 01:24:01 -04:00
ctags.rust Update the ctags rules and targets. 2015-07-30 06:35:42 +10:00
debugger_pretty_printers_common.py Add pretty printing of unions in debuggers 2017-01-01 19:34:06 +10:00
dec2flt_table.py Speed up dec2flt fast path with additional tables. 2016-01-12 22:25:16 +01:00
gdb_load_rust_pretty_printers.py debuginfo: Add a rust-gdb shell script that will start GDB with Rust pretty printers enabled. 2014-12-30 17:26:13 +01:00
gdb_rust_pretty_printing.py modern style classes 2016-09-17 23:09:21 -07:00
generate-deriving-span-tests.py rustc: rework stability to be on-demand for type-directed lookup. 2016-11-28 04:18:11 +02:00
generate-keyword-tests.py Fix keyword parsing tests 2016-04-24 21:35:50 +03:00
htmldocck.py print enum variant fields in docs 2016-05-30 16:11:53 +02:00
indenter Port indenter to python 2015-01-16 08:49:54 -08:00
lldb_batchmode.py pep8 prefers triple quoted with double quotes 2016-09-17 23:05:20 -07:00
lldb_rust_formatters.py Add pretty printing of unions in debuggers 2017-01-01 19:34:06 +10:00
make-win-dist.py Make sure rsbegin.o and rsend.o get packaged with target lib artifacts. 2015-11-07 17:56:55 -08:00
rust-gdb debuginfo: Add a rust-gdb shell script that will start GDB with Rust pretty printers enabled. 2014-12-30 17:26:13 +01:00
rust-lldb Make rust-lldb warn about unsupported versions of LLDB 2016-07-04 19:37:36 -04:00
sugarise-doc-comments.py Fix PEP8 in sugarise-doc-comments 2015-01-27 01:26:02 -08:00
unicode.py Reduce the size of static data in std_unicode::tables. 2017-01-03 08:28:58 +01:00
ziggurat_tables.py std: Move rand to librand. 2014-03-12 11:31:05 +11:00