encyclopegia.org

BCJ (algorithm)

In data compression, BCJ, short for branch/call/jump, refers to a technique that improves the compression of machine code by replacing relative branch addresses with absolute ones. This allows a Lempel–Ziv compressor to identify duplicate targets and more efficiently encode them. On decompression, the inverse filter restores the original encoding. Different BCJ filters are used for different instruction sets, as each use different opcodes for branching. A form of BCJ is seen in Microsoft's cabinet file format from 1996, which filters x86 CALL instructions for the LZX compressor. The 7z and xz file formats implement BCJ for multiple architectures. ZPAQ calls its x86 BCJ as "E8E9", after the opcode values. bsdiff, a tool for delta updates, circumvents the need of writing architecture-specific BCJ tools by encoding bytewise differences. This allows it to be much better than the "match and copy" type tools such as VCDIFF, giving an output size of only 6% for Google Chrome. However, Google's courgette, which adds a layer of explicit disassembly, is able to produce 9× smaller diffs.

In data compression, BCJ, short for branch/call/jump, refers to a technique that improves the compression of machine code by replacing relative branch addresses with absolute ones. This allows a Lempel–Ziv compressor to identify duplicate targets and more efficiently encode them. On decompression, the inverse filter restores the original encoding. Different BCJ filters are used for different instruction sets, as each use different opcodes for branching. A form of BCJ is seen in Microsoft's cabinet file format from 1996, which filters x86 CALL instructions for the LZX compressor. The 7z and xz file formats implement BCJ for multiple architectures. ZPAQ calls its x86 BCJ as "E8E9", after the opcode values. bsdiff, a tool for delta updates, circumvents the need of writing architecture-specific BCJ tools by encoding bytewise differences. This allows it to be much better than the "match and copy" type tools such as VCDIFF, giving an output size of only 6% for Google Chrome. However, Google's courgette, which adds a layer of explicit disassembly, is able to produce 9× smaller diffs.

References

No reference rows published for this article.

Cite this article

MLA

"BCJ (algorithm)." encyclopegia.org, 2025, https://encyclopegia.org/wiki/bcj-algorithm. Accessed 24 November 2026.

Chicago

"BCJ (algorithm)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/bcj-algorithm.

APA

encyclopegia.org. (2025). BCJ (algorithm). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/bcj-algorithm

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

34th Chamber of Deputies of Luxembourg

enwiki · references available

Coastal Christian School

enwiki · references available

Kamishikimi Kumanoimasu Shrine

enwiki · references available

Europa-Park Stadion

enwiki · references available

Ahmet Gülay

enwiki · references available

Mthokozisi Nxumalo

enwiki · references available

Lockdown all'italiana

enwiki · references available

Mustafa Çeçenoğlu

enwiki · references available

Sebastián Valenzuela

enwiki · references available

Gnayiru

enwiki · references available

Victor Arbelaez

enwiki · references available

Lisskulla Jobs

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1300328441 · 0.5 · snapshot enwiki-001300328441

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.