we can do without the odd align.h
[libfirm] / ir / adt / pdeq.c
index 09bf872..8d596d0 100644 (file)
  */
 #include "config.h"
 
-#ifdef HAVE_STDIO_H
-# include <stdio.h>
-#endif
+#include <stdio.h>
 #include <stdlib.h>
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
-
+#include <string.h>
 #include <assert.h>
 
 #include "fourcc.h"
@@ -48,6 +43,9 @@
 /** Size of pdeq block cache. */
 #define TUNE_NSAVED_PDEQS 16
 
+/** A size handled efficiently by malloc(), at least 1K.  */
+#define PREF_MALLOC_SIZE 2048
+
 /**
  * Maximal number of data items in a pdeq chunk.
  */