diff vmalloc.h @ 125:9b2b9bc2c362

code cleaning
author Merten Sach <msach@mailbox.tu-berlin.de>
date Wed, 07 Sep 2011 14:28:20 +0200
parents e29bb31df078
children 99798e4438a6 0320b49ca013
line diff
     1.1 --- a/vmalloc.h	Tue Aug 30 17:45:14 2011 +0200
     1.2 +++ b/vmalloc.h	Wed Sep 07 14:28:20 2011 +0200
     1.3 @@ -16,10 +16,8 @@
     1.4  
     1.5  #define SMALL_CHUNK_SIZE 32
     1.6  #define SMALL_CHUNK_COUNT 4
     1.7 -#define LOWER_BOUND 128
     1.8 -#define CHUNK_INCREASE_RATE 1.25
     1.9 -#define MAX_SMALL_CHUNKS 20
    1.10 -#define SMALL_CHUNKS_ALLOCATION 5
    1.11 +#define LOWER_BOUND     128  //Biggest chunk size that is created for the small chunks
    1.12 +#define BIG_LOWER_BOUND 160  //Smallest chunk size that is created for the big chunks
    1.13  
    1.14  #define LOG54 0.3219280948873623
    1.15  #define LOG128 7