rust/src/etc
bors f1bcfdd8e4 Auto merge of #30639 - rkruppe:dec2flt-fastpath-tables, r=alexcrichton
Add tables of small powers of ten used in the fast path. The tables are redundant: We could also use the big, more accurate table and round the value to the correct type (in fact we did just that before this commit). However, the rounding is extra work and slows down the fast path.

Because only very small exponents enter the fast path, the table and thus the space overhead is negligible. Speed-wise, this is a clear win on a [benchmark] comparing the fast path to a naive, hand-optimized, inaccurate algorithm. Specifically, this change narrows the gap from a roughly 5x difference to a roughly 3.4x difference.

[benchmark]: https://gist.github.com/Veedrac/dbb0c07994bc7882098e
2016-01-13 02:05:02 +00:00
..
mingw-fix-include Strip trailing whitespace 2015-03-15 11:25:43 -07:00
platform-intrinsics Add a comment to explain the #[inline(never)] annotation 2015-09-12 17:05:29 +02:00
test-float-parse typos: fix a grabbag of typos all over the place 2015-10-08 19:49:31 +01: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
apple-darwin.supp update valgrind suppressions 2015-12-25 15:46:36 -05:00
check-binaries.py add shebang to scripts that have execute bit set 2014-05-12 19:52:29 -07:00
check-sanitycheck.py Fix platform detection 2015-06-01 20:50:35 +03:00
check-summary.py etc: py3 compat for check-summary.py 2015-05-24 05:12:40 -07:00
cmathconsts.c Added more scripts to tidy check 2014-02-17 10:36:47 -06:00
CONFIGS.md distinction between official and community plugins 2015-04-29 18:53:36 +02:00
ctags.rust Update the ctags rules and targets. 2015-07-30 06:35:42 +10:00
debugger_pretty_printers_common.py fix pretty printers to handle new Vec 2015-07-17 10:43:58 -07:00
dec2flt_table.py Speed up dec2flt fast path with additional tables. 2016-01-12 22:25:16 +01:00
errorck.py Add comments. 2015-07-12 21:19:19 -05:00
featureck.py Rename #[deprecated] to #[rustc_deprecated] 2015-11-20 16:11:20 +03: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 debuginfo: Create common debugger pretty printer module. 2015-05-30 20:06:08 +02:00
generate-deriving-span-tests.py Remove #[derive(Show)] 2015-10-18 19:12:09 +03:00
generate-keyword-tests.py Fix PEP8 for generate-keyword-tests 2015-01-27 01:26:03 -08:00
get-snapshot.py Fix PEP8 in snapshot.py 2015-01-27 01:26:02 -08:00
htmldocck.py Improve htmldocck.py error messages 2015-12-10 17:34:54 +01:00
indenter Port indenter to python 2015-01-16 08:49:54 -08:00
latest-unix-snaps.py Fix PEP8 for latest-unix-snaps.py 2015-01-27 01:26:03 -08:00
libc.c Add the other S_I(RWX)(GRP/OTH) for posix creat 2015-03-24 03:25:48 -07:00
licenseck.py Clean up tidy scripts, coverage, performance 2015-02-05 14:37:16 -08:00
lldb_batchmode.py Fix PEP8 in lldb_batchmode.py 2015-01-27 01:25:54 -08:00
lldb_rust_formatters.py debuginfo: Create common debugger pretty printer module. 2015-05-30 20:06:08 +02:00
local_stage0.sh bitrig integration 2015-02-11 14:49:06 -08:00
make-snapshot.py add shebang to scripts that have execute bit set 2014-05-12 19:52:29 -07: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
maketest.py Better support for --llvm-root. 2015-12-13 15:05:43 -06:00
mirror-all-snapshots.py Fix PEP8 in mirror-all-snapshots 2015-01-27 01:26:03 -08:00
mklldef.py mk: Generate a .def file for rustc_llvm on MSVC 2015-05-19 10:53:07 -07:00
mklldeps.py Better support for --llvm-root. 2015-12-13 15:05:43 -06:00
regex-match-tests.py librustc: Always parse macro!()/macro![] as expressions if not 2014-12-18 12:09:07 -05: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 rustc: Start "stabilizing" some flags 2014-12-19 11:38:24 -08:00
snapshot.py Add netbsd amd64 support 2015-07-01 19:09:14 -07:00
sugarise-doc-comments.py Fix PEP8 in sugarise-doc-comments 2015-01-27 01:26:02 -08:00
tidy.py std: Migrate to the new libc 2015-11-09 22:55:50 -08:00
unicode.py Improve the range comparison 2016-01-04 17:51:12 +01:00
x86.supp update valgrind suppressions 2015-12-25 15:46:36 -05:00
ziggurat_tables.py std: Move rand to librand. 2014-03-12 11:31:05 +11:00