- 26 8月, 2013 12 次提交
-
-
由 klutzy 提交于
-
由 klutzy 提交于
-
由 klutzy 提交于
-
由 klutzy 提交于
Uses ArbitraryUserPointer area at gs:0x28.
-
由 klutzy 提交于
Win64 convention does not use underscore.
-
由 bors 提交于
This is in preparation for making discriminants not always be int (#1647), but it also makes compiles for a 64-bit target not behave differently — with respect to how many bits of discriminants are preserved — depending on the build host's word size, which is a nice property to have. We may want to standardize how to abbreviate "discriminant" in a followup change.
-
由 bors 提交于
Add _opt variants to from_bytes, from_bytes_owned, and from_bytes_slice. These variants return an Option instead of raising a condition/failing.
-
由 Brian Anderson 提交于
This reverts commit 491bc356, reversing changes made to 05f1bbba.
-
由 Kevin Ballard 提交于
Add _opt variants to from_bytes, from_bytes_owned, and from_bytes_slice. These variants return an Option instead of raising a condition/failing.
-
由 bors 提交于
This does two things: 1) stops compressing metadata, 2) stops copying the metadata section, instead holding a reference to the buffer returned by the LLVM section iterator. Not compressing metadata requires something like 7x the storage space, but makes running tests about 9% faster. This has been a time improvement on all platforms I've tested, including windows. I considered leaving compression as an option but it doesn't seem to be worth the complexity since we don't currently have any use cases where we need to save that space. In order to avoid copying the metadata section I had to hack up extra::ebml a bit to support unsafe buffers. We should probably move it into librustc so that it can evolve to support the compiler without worrying about having a crummy interface. r? @graydon
-
由 bors 提交于
Also added a home_for_io_with_sched variant to consolidate some cases. This is a temporary step to resolving #8674.
-
- 25 8月, 2013 28 次提交
-
-
由 bors 提交于
...bytes. (removing previous note about eff-eye-ex'ing #5516 since it actually does not do so, it just gets us half-way.)
-
由 Felix S. Klock II 提交于
-
由 bors 提交于
Fixes #8536.
-
由 Brian Anderson 提交于
-
由 bors 提交于
-
由 Jed Davis 提交于
This would have failed on 32-to-64-bit cross-compiles.
-
由 Jed Davis 提交于
-
由 Jed Davis 提交于
-
由 bors 提交于
Recent improvements to `&mut Trait` have made this work possible, and it solidifies that `ifmt` doesn't always have to return a string, but rather it's based around writers.
-
由 bors 提交于
The method names in std::rt::io::extensions::WriterByteConversions are the same as those in std::io::WriterUtils and a resolve error causes rustc to fail after trying to find an impl of io::Writer instead of trying to look for rt::io::Writer as well.
-
由 Alex Crichton 提交于
These new macros are all based on format! instead of fmt! and purely exist for bootstrapping purposes. After the next snapshot, all uses of logging will be migrated to these macros, and then after the next snapshot after that we can drop the `2` suffix on everything
-
由 bors 提交于
See #8599
-
由 Daniel Micay 提交于
Add OwnedStr::into_bytes
-
由 Brian Anderson 提交于
I'm not comfortable turning off rtassert! yet
-
由 Brian Anderson 提交于
vec::unshift uses this to add elements, scheduler queues use unshift, and this was causing a lot of reallocation
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
These aren't used for anything at the moment and cause some TLS hits on some perf-critical code paths. Will need to put better thought into it in the future.
-
由 Brian Anderson 提交于
It's not a huge win but it does reduce the amount of time spent contesting the message queue when the schedulers are under load
-
由 Brian Anderson 提交于
This makes the lock much less contended. In the test I'm running the number of times it's contended goes from ~100000 down to ~1000.
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Steven Fackler 提交于
My primary use case here is sending strings across the wire where the intermediate storage is a byte array. The new method ends up avoiding a copy.
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
-
由 Daniel Micay 提交于
Force line ending of '.in' files in jemalloc to LF
-