Documentation

Guides, API references, and troubleshooting for the Pyvorin platform.

best-practices

Avoiding Common Pitfalls

Mistakes that cause deoptimisation, fallback, or poor speedup.

best-practices

Class Design for Compilation

Design classes and methods that compile efficiently.

best-practices

Conditional Branch Optimisation

Write if/else chains that compile to efficient branch logic.

best-practices

Data Structure Selection

Which Python data structures compile best and which to avoid.

best-practices

Dictionary Performance Tips

Maximise dict lookup and insertion performance in compiled code.

best-practices

Exception Handling Performance

How try/except affects compilation and when to use it.

best-practices

Function Design for Compilation

How to structure functions for optimal native compilation.

best-practices

Getting the Most from Pyvorin

Top 10 practices for maximising speedup and minimising fallback.

best-practices

Import Strategy

How imports affect compilation and startup time.

best-practices

List vs Tuple vs Set

When to use each collection type for compilation performance.

best-practices

Logging in Compiled Code

Log efficiently without destroying compilation gains.

best-practices

Loop Optimisation Guide

How to write loops that compile to the fastest machine code.

best-practices

String Handling Best Practices

Efficient string concatenation, parsing, and manipulation.

best-practices

Type Stability Best Practices

Keep variable types consistent for maximum optimisation.

best-practices

Writing Compile-Friendly Python

Code patterns that compile well and patterns to avoid.