Skip to content

Mention the --release flag for maturin develop in the quickstart docs #6095

Description

@Ronserruya

The quickstart docs (both on the site and in this GitHub readme) show how to quickly write and build a module.
The issue I have is that these docs do not mention the --release flag for maturin develop

This compiles the bindings with Rust optimizations, making a massive difference in performance.
A user who tries to follow this guide and uses their new module will see very disappointing performance until they find this flag while googling (or decide to abandon the use of pyo3 altogether)

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions