Patrick Walton
3a570075b1
librustc: Remove unused mod_path_map
. This was expensive to build. Saves another 15% or so. r=tjc
2013-01-07 12:54:46 -08:00
Patrick Walton
9f387926fc
librustc: Fold rt items into lang items. Shaves another 10% or so off hello world compile time.
2013-01-07 12:21:34 -08:00
Patrick Walton
d2d1d98968
librustc: Encode language items into a special lookup table. 9% improvement in hello world compile time.
2013-01-07 10:51:53 -08:00
Patrick Walton
0ab7f9129e
librustc: Refactor language items to have IDs. rs=refactor
...
Preparation for fixing the performance problems with language item collection.
2013-01-06 12:05:34 -08:00
Patrick Walton
96e01a67c7
librustc: Convert some large structural records over to structs. rs=perf
...
No effect on compile-time performance.
2013-01-06 11:16:14 -08:00
Patrick Walton
fa96740923
librustc: Remove some string allocations. rs=perf
2013-01-05 19:33:37 -08:00
Patrick Walton
1070cc0109
librustc: Fix unconditional ty_to_str call in ty.rs. Was heaviest path in allocation. Negligible perf win. rs=perf-fix
2013-01-05 18:41:22 -08:00
Patrick Walton
6c18c75f2d
rt: Stop zeroing out all allocations. Unobservable perf win. Closes #2682 . rs=negligible-perf-win
2013-01-05 18:04:29 -08:00
Jed Davis
3e7ab3a443
Add a test for nullary univariant enums.
2013-01-05 00:49:01 -08:00
Jed Davis
6043a72774
Make consts of degenerate nullary enums not ICE.
...
This makes the const construction code match the logic in type_of.
2013-01-05 00:24:38 -08:00
Jed Davis
8f8b417811
Trivial cleanup: use enum_is_univariant; no functional change intended.
2013-01-05 00:24:33 -08:00
Patrick Walton
7b245d46ed
librustc: Stop generating first-class aggregates in visit glue, since they kick us off fast isel. Closes #4352 . rs=minor-perf-improvement
2013-01-04 23:07:58 -08:00
Brian Anderson
9abcacc0f3
Add Mark Lacey to AUTHORS
2013-01-04 17:31:59 -08:00
Brian Anderson
62c7ca64f0
Merge remote-tracking branch 'superoptimizer/master' into HEAD
...
Conflicts:
doc/tutorial.md
2013-01-04 17:31:12 -08:00
Tim Chevalier
89acd1f57f
Rename option::get_default => get_or_default, get_zero => get_or_zero
2013-01-04 16:01:26 -08:00
Tim Chevalier
4d8cc3f003
Make either::{partition, flip, to_result} take their arguments by-value
...
Addresses an XXX
r=pcwalton
2013-01-04 15:39:31 -08:00
Graydon Hoare
62f6f46072
core: fix windows breakage, r=burningtree.
2013-01-04 15:38:56 -08:00
Tim Chevalier
1f1e7e9616
Add option::get_zero
...
r=brson
Closes #3797
2013-01-04 00:46:55 -08:00
Mark Lacey
d94e9c0b04
Fix two minor issues in the tutorial.
...
Remove an extraneous 'then', and replace 'second' with 'first'.
2013-01-03 22:36:35 -08:00
Andrew Paseltiner
a933cdfbf1
clean up condition module:
...
* use Drop trait in Guard
* fix formatting
* remove bare function in Condition.raise_default
* use moved types instead of borrowed pointers in Condition.{raise,trap}
* import common functions
2013-01-03 15:53:06 -08:00
Tim Chevalier
9e2a59dc5d
Add xfailed test for #3707
2013-01-03 15:35:19 -08:00
Tim Chevalier
7b08ed02bb
Actually xfail this, unbreak build
2013-01-03 15:26:41 -08:00
Tim Chevalier
1330b1cdf5
Add test cases (one xfailed, one not)
...
as per #3601 and #3609
2013-01-03 14:55:51 -08:00
Tim Chevalier
1bc51f1728
Merge pull request #4336 from thestinger/python
...
fix build for when 'python' is python3
2013-01-03 13:52:04 -08:00
Tim Chevalier
d91b2d428b
Change "interface" to "trait" in rustdoc
...
Closes #4337
2013-01-03 11:34:08 -08:00
Daniel Micay
486217d7a2
add missing $(CFG_PYTHON) prefixes
2013-01-03 03:15:35 -05:00
Daniel Micay
8ffc2b0f5e
fix sugarise-doc-comments.py shebang
2013-01-03 02:40:21 -05:00
Ted Horst
af48f30542
use newtype struct for devnull rather than type aliased record
2013-01-02 15:35:32 -08:00
Ted Horst
7c79b5e434
really update mandelbrot to pipes
2013-01-02 15:35:32 -08:00
Tim Chevalier
b169889005
Add Peter Williams to AUTHORS
2013-01-02 15:33:13 -08:00
Tim Chevalier
0d4cf3ed72
remove apparently-superfluous extra parens from types
2013-01-02 15:33:13 -08:00
Peter Williams
ae69c2fc7d
std: Constify the bytes sent to Sha1::input
...
We are of course never going to modify the data, and this change allows us to
accept data from to_bytes::IterBytes types.
2013-01-02 15:33:13 -08:00
Erick Tryzelaar
392708e3b1
core: convert an XXX into a FIXME.
2013-01-02 10:40:47 -05:00
Brian Anderson
587ce4894e
Merge pull request #4324 from steveklabnik/std_net
...
Add some extra description for std::net
2012-12-31 22:04:36 -08:00
Steve Klabnik
9433284a11
Add some extra description for std::net
2013-01-01 01:02:48 -05:00
Brian Anderson
96ba9def35
Merge pull request #4316 from ttaubert/issue-4277-linear-map-len
...
reset LinearMap.size when expanding buckets
2012-12-31 22:02:42 -08:00
Brian Anderson
eeec4a7667
Merge pull request #4322 from cpeterso/incoming-doc-typos
...
doc: Fix some typos in the tutorial and reference manual
2012-12-31 21:54:13 -08:00
Brian Anderson
84a37a3859
Merge pull request #4323 from cpeterso/cpeterso-schedule-task
...
rt: Remove dead code from schedule_task()
2012-12-31 21:51:45 -08:00
Chris Peterson
16797fd525
doc: Fix some typos in the tutorial and reference manual
2012-12-31 13:46:52 -08:00
Chris Peterson
e08f304b81
rt: Remove dead code from schedule_task()
2012-12-30 23:12:24 -08:00
Tim Chevalier
08d9c5be2f
Merge pull request #4312 from Dretch/issue-2914
...
Work towards fixing issue #2914
2012-12-30 15:58:20 -08:00
Tim Chevalier
4dde334b47
Add Franklin Chen to AUTHORS
2012-12-30 15:55:16 -08:00
Tim Chevalier
cfb33fc23c
Merge pull request #4311 from FranklinChen/fix-macro-tutorial
...
Remove semicolons at the end of macro_rules! definitions that cause compile failure
2012-12-30 15:53:18 -08:00
Tim Chevalier
62d6031005
Merge pull request #4317 from apasel422/tutorial-fix
...
doc: make small corrections to tutorial
2012-12-30 13:33:36 -08:00
Andrew Paseltiner
4cb9247e3b
doc: make small corrections to tutorial
2012-12-30 16:09:34 -05:00
Tim Taubert
4b1d2dc884
reset LinearMap.size when expanding buckets
2012-12-30 19:38:42 +01:00
Patrick Walton
4be7310be0
doc: Fix explanation and example of struct-like enum variants. rs=busted
2012-12-30 07:09:14 -08:00
Patrick Walton
4b3dd4b920
doc: Fix some broken tutorial examples. rs=bustage
2012-12-29 21:52:51 -08:00
Patrick Walton
10333a5f3d
libstd: Comment out mysteriously failing net-url test. rs=busted
2012-12-29 21:43:18 -08:00
Patrick Walton
2822365106
librustdoc: More text fixes. rs=busted
2012-12-29 21:17:06 -08:00