Skip to content

Release GIL during parsing #26

Description

@vladkvit

Release the GIL during parsing (py.detach)
Refactor parse_str_slices (src/lib.rs:20) so the Rayon thread_pool.install(...) block (lib.rs:48-59) runs inside py.detach(|| ...)
Move the Vec production into py.detach.
Keep buffers_to_chunk_data / build_parsed_games outside (they need py).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions