Module: Omnizip::Algorithms::PPMdBase::BaseConstants
- Included in:
- Omnizip::Algorithms::PPMd8::Decoder, Omnizip::Algorithms::PPMd8::Encoder, Omnizip::Algorithms::PPMd8::Model, Omnizip::Algorithms::PPMdBase
- Defined in:
- lib/omnizip/algorithms/ppmd_base.rb
Overview
Common constants for all PPMd variants
Constant Summary collapse
- MIN_ORDER =
Context order limits
2- MAX_ORDER =
16- DEFAULT_ORDER =
6- MIN_MEM_SIZE =
Memory allocation
1 << 20
- MAX_MEM_SIZE =
1 MB
1 << 30
- DEFAULT_MEM_SIZE =
1 GB
1 << 24
- ALPHABET_SIZE =
Alphabet
256- TOP_VALUE =
Range coder constants
1 << 24
- BOT_VALUE =
1 << 15