From da137586d7702355e3e15e480975230c26fd8738 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Fri, 28 Oct 2011 17:26:39 +0200 Subject: [PATCH] reduce greatly the size of the static string for logs. According to Christophe, this can lead to a 10% speedup. Thanks to agier for the fix that made it possible --- include/xbt/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xbt/log.h b/include/xbt/log.h index 19f0ca7dfb..2b91a5c0b5 100644 --- a/include/xbt/log.h +++ b/include/xbt/log.h @@ -242,7 +242,7 @@ typedef struct xbt_log_category_s s_xbt_log_category_t, * Do NOT access any members of this structure directly. FIXME: move to private? */ -#define XBT_LOG_BUFF_SIZE 2048 /* Size of the static string in which we build the log string */ +#define XBT_LOG_BUFF_SIZE 127 /* Size of the static string in which we build the log string */ struct xbt_log_category_s { xbt_log_category_t parent; -- 2.20.1