summaryrefslogtreecommitdiff
path: root/src/ivybuffer.c
diff options
context:
space:
mode:
authorbustico2008-02-06 16:32:54 +0000
committerbustico2008-02-06 16:32:54 +0000
commitee2e694ebba179f1c75764a7311df717fa3925cd (patch)
treea9da6c6d525241725597c7d641c90436239c91d9 /src/ivybuffer.c
parentc50b5d38c1fc5491e8c99c8a86b043d39e074acc (diff)
downloadivy-c-ee2e694ebba179f1c75764a7311df717fa3925cd.zip
ivy-c-ee2e694ebba179f1c75764a7311df717fa3925cd.tar.gz
ivy-c-ee2e694ebba179f1c75764a7311df717fa3925cd.tar.bz2
ivy-c-ee2e694ebba179f1c75764a7311df717fa3925cd.tar.xz
* 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.
Diffstat (limited to 'src/ivybuffer.c')
-rw-r--r--src/ivybuffer.c4
1 files changed, 1 insertions, 3 deletions
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;
}
-
-