Zorb.Patcher (Zorb v0.10.0)

Copy Markdown View Source

Fast compilation using WASM patching instead of full Elixir compilation.

Pre-compiled interpreter templates are patched with story-specific data, reducing compilation time from ~4s to ~400ms.

Summary

Functions

Compile a story file using the patcher approach.

Functions

compile(story_path)

Compile a story file using the patcher approach.

This is ~10x faster than the traditional compilation but produces identical WASM output.

compile_data(story_data)