projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
we can do without the odd align.h
[libfirm]
/
ir
/
adt
/
pdeq.c
diff --git
a/ir/adt/pdeq.c
b/ir/adt/pdeq.c
index
b5d1b31
..
8d596d0
100644
(file)
--- a/
ir/adt/pdeq.c
+++ b/
ir/adt/pdeq.c
@@
-26,9
+26,7
@@
*/
#include "config.h"
*/
#include "config.h"
-#ifdef HAVE_STDIO_H
-# include <stdio.h>
-#endif
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
@@
-45,6
+43,9
@@
/** Size of pdeq block cache. */
#define TUNE_NSAVED_PDEQS 16
/** 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.
*/
/**
* Maximal number of data items in a pdeq chunk.
*/