diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2013-05-05 07:43:43 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2013-05-05 07:43:43 -0400 |
| commit | 6806900a7c63950feb2540347fc3f94d83074bbd (patch) | |
| tree | 939733c1fa60f3c56cc222243607d194428363d5 /src | |
| parent | 989d008124d62f7c1284633e6619db1a9e8b6598 (diff) | |
| download | rust-6806900a7c63950feb2540347fc3f94d83074bbd.tar.gz rust-6806900a7c63950feb2540347fc3f94d83074bbd.zip | |
disable lang debug for perf
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/unstable/lang.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/unstable/lang.rs b/src/libcore/unstable/lang.rs index 5a65a5c24bb..6b61df31fdc 100644 --- a/src/libcore/unstable/lang.rs +++ b/src/libcore/unstable/lang.rs @@ -152,7 +152,7 @@ pub unsafe fn exchange_malloc(td: *c_char, size: uintptr_t) -> *c_char { /// Because this code is so perf. sensitive, use a static constant so that /// debug printouts are compiled out most of the time. -static ENABLE_DEBUG: bool = true; +static ENABLE_DEBUG: bool = false; #[inline] pub fn debug_mem<T>(tag: &'static str, p: *const T) { |
