/* For quality below MIN_QUALITY_FOR_BLOCK_SPLIT there is no block splitting,
so we buffer at most this much literals and commands. */ #define MAX_NUM_DELAYED_SYMBOLS 0x2FFF
/* The maximum length for which the zopflification uses distinct distances. */ #define MAX_ZOPFLI_LEN_QUALITY_10 150 #define MAX_ZOPFLI_LEN_QUALITY_11 325
/* Do not thoroughly search when a long copy is found. */ #define BROTLI_LONG_COPY_QUICK_STEP 16384
/* Returns log2 of the size of main ring buffer area. Allocateatleastlgwin+1bitsfortheringbuffersothatthenewly addedblockfitstherecompletelyandwestillgetlgwinbitsandatleast read_block_size_bits+1bitsbecausethecopytaillengthneedstobe
smaller than ring-buffer size. */ static BROTLI_INLINE int ComputeRbBits(const BrotliEncoderParams* params) { return1 + BROTLI_MAX(int, params->lgwin, params->lgblock);
}
/* When searching for backward references and have not seen matches for a long time,wecanskipsomematchlookups.Unsuccessfulmatchlookupsarevery expensiveandthiskindofaheuristicspeedsupcompressionquitealot. Atfirst8bytestridesaretakenandeverysecondbyteisputtohasher. After4xmoreliteralsstrideby16bytes,everyput4-thbytetohasher.
Applied only to qualities 2 to 9. */ static BROTLI_INLINE size_t LiteralSpreeLengthForSparseSearch( const BrotliEncoderParams* params) { return params->quality < 9 ? 64 : 512;
}
if (params->lgwin > 24) { /* Different hashers for large window brotli: not for qualities <= 2, thesearetoofastforlargewindow.Notforqualities>=10:their hasheralreadyworkswellwithlargewindow.Sothechangesare: H3-->H35:forquality3. H54-->H55:forquality4withsizehint>1MB
H6/H68 --> H65: for qualities 5, 6, 7, 8, 9. */ if (hparams->type == 3) {
hparams->type = 35;
} if (hparams->type == 54) {
hparams->type = 55;
} if (hparams->type == 6 || hparams->type == 68) {
hparams->type = 65;
}
}
}
#endif/* BROTLI_ENC_QUALITY_H_ */
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.10Bemerkung:
(vorverarbeitet am 2026-08-25)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.