From: Martin Quinson Date: Fri, 28 Oct 2011 15:26:39 +0000 (+0200) Subject: reduce greatly the size of the static string for logs. According to Christophe, this... X-Git-Tag: exp_20120216~538 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/da137586d7702355e3e15e480975230c26fd8738 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 --- 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;