.. meta::
   :description: diwire compilation example: compile() and steady-state resolution.

Compilation
===========

What you'll learn
-----------------

- Call ``compile()`` to pre-build the resolver and speed up steady-state resolution.

Run locally
-----------

.. code-block:: bash

   uv run python examples/ex_05_compilation/01_compilation.py

Example
-------

.. literalinclude:: ../../../examples/ex_05_compilation/01_compilation.py
   :language: python
   :class: diwire-example py-run

