equal
deleted
inserted
replaced
36 |
36 |
37 using namespace std; |
37 using namespace std; |
38 |
38 |
39 namespace WebCore { |
39 namespace WebCore { |
40 |
40 |
41 static const int cDefaultCacheCapacity = 8192 * 1024; |
41 static const int cDefaultCacheCapacity = 4*1024*1024; // 4MB |
42 |
42 |
43 static const double cMinDelayBeforeLiveDecodedPrune = 1; // Seconds. |
43 static const double cMinDelayBeforeLiveDecodedPrune = 1; // Seconds. |
44 static const float cTargetPrunePercentage = .95f; // Percentage of capacity toward which we prune, to avoid immediately pruning again. |
44 static const float cTargetPrunePercentage = .95f; // Percentage of capacity toward which we prune, to avoid immediately pruning again. |
45 |
45 |
46 #if PLATFORM(SYMBIAN) |
46 #if PLATFORM(SYMBIAN) |