X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fadt%2Fpdeq.c;h=8d596d0f3e574d1e0b3354f38abd185d918712b4;hb=3da5ed2598245b896255bc444aaa1768f6098cfe;hp=09bf872350105ec76166440d081f323d708c1452;hpb=e84184056559e90f2dffc7f7648f40705864e088;p=libfirm diff --git a/ir/adt/pdeq.c b/ir/adt/pdeq.c index 09bf87235..8d596d0f3 100644 --- a/ir/adt/pdeq.c +++ b/ir/adt/pdeq.c @@ -26,14 +26,9 @@ */ #include "config.h" -#ifdef HAVE_STDIO_H -# include -#endif +#include #include -#ifdef HAVE_STRING_H -# include -#endif - +#include #include #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. */