From 6806900a7c63950feb2540347fc3f94d83074bbd Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Sun, 5 May 2013 07:43:43 -0400 Subject: [PATCH] disable lang debug for perf --- src/libcore/unstable/lang.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/unstable/lang.rs b/src/libcore/unstable/lang.rs index 5a65a5c24bb5..6b61df31fdc8 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(tag: &'static str, p: *const T) {