Skip to content

Reduce proto CopyFrom #18

@ducky64

Description

@ducky64

One possible explanation for why this runs so slowly on Windows vs. Linux - Linux might be able to precompile proto. Instead of using CopyFrom, pass in the parent object directly, and manipulate on that, to avoid the repeated copying.

Unfortunately, this makes the code a lot messier, since it has to work with mutable arguments, instead of returning a new object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🏎 performanceChanges affecting generator runtime only

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions