mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-15 13:35:25 +00:00
29 lines
685 B
C#
29 lines
685 B
C#
#region Using
|
|
|
|
using System;
|
|
|
|
#endregion
|
|
|
|
namespace SharpCompress.Compressor.PPMd.I1
|
|
{
|
|
/// <summary>
|
|
/// The method used to adjust the model when the memory limit is reached.
|
|
/// </summary>
|
|
internal enum ModelRestorationMethod
|
|
{
|
|
/// <summary>
|
|
/// Restart the model from scratch (this is the default).
|
|
/// </summary>
|
|
Restart = 0,
|
|
|
|
/// <summary>
|
|
/// Cut off the model (nearly twice as slow).
|
|
/// </summary>
|
|
CutOff = 1,
|
|
|
|
/// <summary>
|
|
/// Freeze the context tree (in some cases may result in poor compression).
|
|
/// </summary>
|
|
Freeze = 2
|
|
}
|
|
} |