Changeset 74441 in webkit for trunk/JavaScriptCore/runtime/RegExpCache.h
- Timestamp:
- Dec 21, 2010, 5:30:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/RegExpCache.h
r65478 r74441 48 48 private: 49 49 static const unsigned maxCacheablePatternLength = 256; 50 51 #if PLATFORM(IOS) 52 // The RegExpCache can currently hold onto multiple Mb of memory; 53 // as a short-term fix some embedded platforms may wish to reduce the cache size. 54 static const int maxCacheableEntries = 32; 55 #else 50 56 static const int maxCacheableEntries = 256; 57 #endif 51 58 52 59 FixedArray<RegExpKey, maxCacheableEntries> patternKeyArray;
Note:
See TracChangeset
for help on using the changeset viewer.