MBExpressionCacheSerialization Constants Reference

Declared in MBExpressionCache.h

MBExpressionCacheSerialization

Specifies the serialization behavior for the MBExpressionCache.

Definition

typedef NS_ENUM(NSUInteger, MBExpressionCacheSerialization ) {
   MBExpressionCacheSerializationNone,
   MBExpressionCacheSerializationOptimizeForLaunch,
   MBExpressionCacheSerializationOptimizeForPerformance,
};

Constants

MBExpressionCacheSerializationNone

The cache will not serialize any changes to the filesystem. This is the default value of the MBExpressionCache’s cacheSerialization property.

Declared In MBExpressionCache.h.

MBExpressionCacheSerializationOptimizeForLaunch

The cache will serialize only those changes occurring within a given period of time after application launch. Cache files will be smaller.

Declared In MBExpressionCache.h.

MBExpressionCacheSerializationOptimizeForPerformance

The cache will periodically serialize changes to the filesystem. Over time, the cache will grow to encompass all expressions encountered at runtime, making expression evaluation quicker. Cache files will be larger, however, which can affect application launch times in extreme cases.

Declared In MBExpressionCache.h.

Declared In

MBExpressionCache.h