From ee2e694ebba179f1c75764a7311df717fa3925cd Mon Sep 17 00:00:00 2001 From: bustico Date: Wed, 6 Feb 2008 16:32:54 +0000 Subject: * fix realloc buffer size when big message * complete change of internal structures for performance optimisation * experimental parralelized version for performance optimisation (use and need openmp) which scale well for regexp matching on multicore/multi processor gear. --- src/ivybuffer.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/ivybuffer.c') diff --git a/src/ivybuffer.c b/src/ivybuffer.c index a47eef5..7228f55 100644 --- a/src/ivybuffer.c +++ b/src/ivybuffer.c @@ -25,7 +25,7 @@ #include "ivybuffer.h" -#define BUFFER_SIZE 4096 /* taille buffer initiale on multiple par deux a chaque realloc */ +#define BUFFER_SIZE 4096 /* taille buffer initiale on multiple par deux a chaque realloc */ /* fonction de formtage a la printf d'un buffer avec reallocation dynamique */ int make_message(IvyBuffer* buffer, const char *fmt, va_list ap) @@ -81,5 +81,3 @@ int make_message_var(IvyBuffer* buffer, const char *fmt, ... ) return len; } - - -- cgit v1.1