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.