Skip to content

[Feature Request]: mono-wide pyyaml+serde_yaml based yaml serialization impl #1638

@cobycloud

Description

@cobycloud

Project Root

core

Package Name

pkgs/OptYaml

Resource Kind

None

Component Name

OptYaml

Generate Content?

no

Feature Description

Optimize yaml parsing across mono by leveraging both pyyaml and serde_yaml.

Motivation

We can see a performance boost on yaml parsing if we swap between pyyaml and serde_yaml.

When file size is small, we can use pyyaml. When file size is large or richer features are required, we can delegate to serde_yaml.

This will provide perf boost while avoid FFI overhead cost for small files

Potential Solution

Swap between pyyaml and serde_yaml based on file size and feature needs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions